From 9f94a70c3e3d9bf766cb9663b0a904d30a190d85 Mon Sep 17 00:00:00 2001 From: simon Date: Sun, 8 Feb 2009 23:15:11 +0100 Subject: * 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 --- app/views/sessions/new.html.erb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app/views/sessions/new.html.erb (limited to 'app/views') 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 @@ +

Log In

+ +<% form_tag session_path do -%> +

<%= label_tag 'login' %>
+<%= text_field_tag 'login', @login %>

+ +

<%= label_tag 'password' %>
+<%= password_field_tag 'password', nil %>

+ + + +

<%= submit_tag 'Log in' %>

+<% end -%> -- cgit v1.3