More specs.

This commit is contained in:
José Valim
2009-10-12 09:56:12 -03:00
parent 78525e2536
commit e50dfcc73f
14 changed files with 129 additions and 83 deletions

View File

@@ -9,5 +9,8 @@
<p><%= f.submit "Resend confirmation instructions" %></p>
<% end %>
<%= link_to "Sign in", new_session_path(resource_name) %> |
<%= link_to "Forgot password?", new_password_path(resource_name) %>
<%= link_to "Sign in", new_session_path(resource_name) %><br />
<%- if devise_mapping.allows?(:passwords) %>
<%= link_to "Forgot password?", new_password_path(resource_name) %><br />
<% end -%>

View File

@@ -13,5 +13,8 @@
<p><%= f.submit "Change my password" %></p>
<% end %>
<%= link_to "Sign in", new_session_path(resource_name) %> |
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %>
<%= link_to "Sign in", new_session_path(resource_name) %><br />
<%- if devise_mapping.allows?(:confirmations) %>
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
<% end -%>

View File

@@ -9,5 +9,8 @@
<p><%= f.submit "Send me reset password instructions" %></p>
<% end %>
<%= link_to "Sign in", new_session_path(resource_name) %> |
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %>
<%= link_to "Sign in", new_session_path(resource_name) %><br />
<%- if devise_mapping.allows?(:confirmations) %>
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
<% end -%>

View File

@@ -10,5 +10,10 @@
<p><%= f.submit "Sign in" %></p>
<% end -%>
<%= link_to "Forgot password?", new_password_path(resource_name) %> |
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %>
<%- if devise_mapping.allows?(:passwords) %>
<%= link_to "Forgot password?", new_password_path(resource_name) %><br />
<% end -%>
<%- if devise_mapping.allows?(:confirmations) %>
<%= link_to "Didn't receive confirmation instructions?", new_confirmation_path(resource_name) %><br />
<% end -%>