app/views/admin/session/new.html.erb in typus-3.1.0.rc14 vs app/views/admin/session/new.html.erb in typus-3.1.0.rc15
- old
+ new
@@ -16,11 +16,19 @@
<%= form.label :password, Typus.user_class.human_attribute_name(:password) %>
<%= form.password_field :password, :size => 20, :class => "text" %>
</li>
<li>
- <%= submit_tag Typus::I18n.t("Sign in"), :class => "button", :disable_with => Typus::I18n.t("Sending data ...") %> <%= link_to Typus::I18n.t("Recover password"), forgot_password_admin_account_index_path if Typus.mailer_sender %>
+ <%= submit_tag Typus::I18n.t("Sign in"), :class => "button", :disable_with => Typus::I18n.t("Sending data ...") %>
</li>
</ul>
+<% end %>
+
+<% if Typus.mailer_sender %>
+ <% content_for :actions do %>
+ <ul>
+ <li><%= link_to Typus::I18n.t("Recover password"), forgot_password_admin_account_index_path %></li>
+ </ul>
+ <% end %>
<% end %>