diff options
| author | simon <simon@zagal.(none)> | 2009-02-08 23:15:11 +0100 |
|---|---|---|
| committer | hukl <hukl@eight.local> | 2009-02-15 20:22:01 +0100 |
| commit | 9f94a70c3e3d9bf766cb9663b0a904d30a190d85 (patch) | |
| tree | 4b4bbf567ec60a939d024b083b478d72476700a5 /app/views | |
| parent | 48ffd4eb446bcaeba7651758ec3002f342702249 (diff) | |
* initial commit of the stripped restful-authentication
* http basic auth and login from cookie have been removed
* no it does not work yet, it's so f*cking secure, it won't even let legitimate users login
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/sessions/new.html.erb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/views/sessions/new.html.erb b/app/views/sessions/new.html.erb new file mode 100644 index 0000000..84f8469 --- /dev/null +++ b/app/views/sessions/new.html.erb | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | <h1>Log In</h1> | ||
| 2 | |||
| 3 | <% form_tag session_path do -%> | ||
| 4 | <p><%= label_tag 'login' %><br /> | ||
| 5 | <%= text_field_tag 'login', @login %></p> | ||
| 6 | |||
| 7 | <p><%= label_tag 'password' %><br/> | ||
| 8 | <%= password_field_tag 'password', nil %></p> | ||
| 9 | |||
| 10 | <!-- Uncomment this if you want this functionality | ||
| 11 | <p><%= label_tag 'remember_me', 'Remember me' %> | ||
| 12 | <%= check_box_tag 'remember_me', '1', @remember_me %></p> | ||
| 13 | --> | ||
| 14 | |||
| 15 | <p><%= submit_tag 'Log in' %></p> | ||
| 16 | <% end -%> | ||
