OSDN Git Service

fix anything
[pettanr/pettanr.git] / app / views / users / sessions / new.html.erb
1 <% @page_title = t('users.signin.signin') %>
2 <h1><%= link_to h(manifest.magic_numbers['profile']['users']['caption']), root_path %></h1>
3 <table class="no-border">
4   <tr>
5     <td width="60%">
6       <p><%= sanitize manifest.magic_numbers['profile']['users']['description'], :tags => %w(a p img br) %></p>
7     </td>
8     <td width="40%">
9       <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
10         <div><%= f.label :email %><br />
11         <%= f.email_field :email %></div>
12
13         <div><%= f.label :password %><br />
14         <%= f.password_field :password %></div>
15
16         <% if devise_mapping.rememberable? -%>
17           <div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
18         <% end -%>
19
20         <div><%= f.submit t('users.signin.signin') %></div>
21       <% end %>
22       <p></p>
23       <%= render :partial => "/users/shared/links" %>
24     </td>
25   </tr>
26 </table>