summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-09-03 20:06:12 +0200
committerhukl <contact@smyck.org>2009-09-03 20:06:12 +0200
commitd749383308a19b7c284ef199f715a2713bd5b7ca (patch)
tree6ab0288094032bf08cb4cbef1e92c22c3c4c39ad /app/views
parentf32413bff3725cea32a30e93dd1253eb8d25cb45 (diff)
visual clean up: it all starts with the login screen. this will be so minimal!
Diffstat (limited to 'app/views')
-rw-r--r--app/views/sessions/new.html.erb35
1 files changed, 24 insertions, 11 deletions
diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb
index 3a27464..fef0912 100644
--- a/app/views/sessions/new.html.erb
+++ b/app/views/sessions/new.html.erb
@@ -1,11 +1,24 @@
1<h1>Log In</h1> 1<div id="login_form">
2 2 <% form_tag session_path do -%>
3<% form_tag session_path do -%> 3 <table>
4<p><%= label_tag 'login' %><br /> 4 <tr>
5<%= text_field_tag 'login', @login %></p> 5 <td></td>
6 6 <td>
7<p><%= label_tag 'password' %><br/> 7 <%= flash[:error] %>&nbsp;
8<%= password_field_tag 'password', nil %></p> 8 </td>
9 9 </tr>
10<p><%= submit_tag 'Log in' %></p> 10 <tr>
11<% end -%> 11 <td class="description">Login</td>
12 <td><%= text_field_tag 'login', @login %></td>
13 </tr>
14 <tr>
15 <td class="description">Password</td>
16 <td><%= password_field_tag 'password', nil %></td>
17 </tr>
18 <tr>
19 <td></td>
20 <td class="right"><%= submit_tag 'log in' %></td>
21 </tr>
22 </table>
23 <% end -%>
24</div> \ No newline at end of file