From 075e17c820eaa907148daa0113fc55dff073b5a0 Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 14 Sep 2011 13:03:14 -0400 Subject: [PATCH] fixes #47: Login Reminder issue --- app/views/maintenance/user/login_reminders/new.html.erb | 9 +++++++++ app/views/maintenance/user/password_resets/new.html.erb | 9 ++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/app/views/maintenance/user/login_reminders/new.html.erb b/app/views/maintenance/user/login_reminders/new.html.erb index bde3a3a3e..51a2877b8 100644 --- a/app/views/maintenance/user/login_reminders/new.html.erb +++ b/app/views/maintenance/user/login_reminders/new.html.erb @@ -5,5 +5,14 @@

If you supplied an email address when signing up, <%= Danbooru.config.app_name %> can email you your login information. Password details will not be provided and will not be changed.

If you didn't supply a valid email address, you are out of luck.

+ + <%= form_tag(maintenance_user_login_reminder_path, :class => "simple_form") do %> +
+ + <%= email_field(:user, :email) %> +
+ + <%= submit_tag "Submit" %> + <% end %> diff --git a/app/views/maintenance/user/password_resets/new.html.erb b/app/views/maintenance/user/password_resets/new.html.erb index d26d6bce4..4eb8a77c8 100644 --- a/app/views/maintenance/user/password_resets/new.html.erb +++ b/app/views/maintenance/user/password_resets/new.html.erb @@ -5,9 +5,12 @@

If you supplied an email address when signing up, <%= Danbooru.config.app_name %> can reset your password. You will receive an email confirming your request for a new password.

If you didn't supply a valid email address, you are out of luck.

- - <%= form_tag(maintenance_user_password_reset_path, :method => :post) do %> - <%= text_field :nonce, :email %> + + <%= form_tag(maintenance_user_password_reset_path, :class => "simple_form") do %> +
+ + <%= text_field :nonce, :email %> +
<%= submit_tag "Submit" %> <% end %>