Skip to content

Commit

Permalink
Removed 'Sign in' link from menu and added 'Back' links to reset pass…
Browse files Browse the repository at this point in the history
…word views
  • Loading branch information
mischa78 committed May 10, 2011
1 parent 7759773 commit aabc85f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion app/views/reset_password/edit.html.erb
Expand Up @@ -12,6 +12,7 @@
<%= f.password_field :password_confirmation, { :class => 'text_input' } %>
</p>
<p>
<%= f.submit t(:reset_password) %>
<%= f.submit t(:reset_password) %> &nbsp; &mdash; &nbsp;
<%= link_to t(:back), new_session_path %>
</p>
<% end %>
3 changes: 2 additions & 1 deletion app/views/reset_password/new.html.erb
Expand Up @@ -20,6 +20,7 @@
<%= text_field_tag :email, nil, :class => 'text_input' %>
</p>
<p>
<%= submit_tag t(:send_email) %>
<%= submit_tag t(:send_email) %> &nbsp; &mdash; &nbsp;
<%= link_to t(:back), new_session_path %>
</p>
<% end %>
3 changes: 1 addition & 2 deletions app/views/shared/_menu.html.erb
Expand Up @@ -6,8 +6,7 @@
<%= link_to t(:users), users_path %> &nbsp; &nbsp;
<%= link_to t(:groups), groups_path %> &nbsp; &nbsp;
<% end -%>
<% else -%>
<%= link_to t(:sign_in), new_session_path %> &nbsp; &nbsp;
<% end -%>
&nbsp;
</p>
</div>

0 comments on commit aabc85f

Please sign in to comment.