mostly styles

This commit is contained in:
jomo
2014-04-08 00:49:17 +02:00
parent f290258f26
commit b0504467e1
12 changed files with 177 additions and 152 deletions

View File

@@ -1,15 +1,15 @@
<h1>Log in</h1>
<p>Not a member? <%= link_to "Join us", signup_path %>!</p>
<%= form_tag login_path do |f| %>
<div id="form_labels">
<%= label_tag :email %>
<%= label_tag :password %>
</div>
<div id="form_inputs">
<div><%= text_field_tag :email, nil, placeholder: "email@example.com" %></div>
<div><%= password_field_tag :password, nil, placeholder: "••••••" %></div>
</div>
<%= submit_tag "Log in", class: "btn blue" %>
<table>
<tr>
<td><%= label_tag :email %></td>
<td><%= text_field_tag :email, nil, placeholder: "email@example.com" %></td>
</tr>
<tr>
<td><%= label_tag :password %></td>
<td><%= password_field_tag :password, nil, placeholder: "******" %></td>
</tr>
</table>
<p><%= submit_tag "Log in", class: "btn blue" %></p>
<% end %>