view app/views/layouts/application.html.erb @ 380:2ddd61aca2c8

I18n. And refactor paste privacy settings form.
author nanaya <me@myconan.net>
date Sun, 07 Jun 2015 02:45:49 +0900
parents 2ad092e60975
children bfc5ad3f7dc5
line wrap: on
line source

<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
    <title><%= html_title %></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <%= stylesheet_link_tag    "application", :media => "all" %>
  </head>
  <body>
    <header>
      <h1><%= content_for :title %></h1>
      <p class="credit">
       Zeropaste.
       <a href="https://bitbucket.org/nanaya1/zeropaste">Source</a>.
       <%= link_to 'Donate', 'https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=me%40myconan%2enet&lc=ID&item_name=Zeropaste%20development&currency_code=USD&bn=PP%2dDonationsBF%3abtn_subscribe_LG%2egif%3aNonHosted' %>.
      </p>
    </header>

    <main>
      <%= yield %>
    </main>

    <%= javascript_include_tag "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js" %>
    <%= javascript_include_tag "application" %>
  </body>
</html>