1
0
Fork 0

Update views to not include signup option

This commit is contained in:
Andrew Tomaka 2013-04-13 01:50:22 -04:00
parent 35f2a92576
commit e6bef83ddf
2 changed files with 2 additions and 5 deletions

View File

@ -1,8 +1,8 @@
<h2>Sign in</h2> <h2>Sign in</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %> <%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div><%= f.label :username %><br /> <div><%= f.label :email %><br />
<%= f.text_field :username, :autofocus => true %></div> <%= f.email_field :email, :autofocus => true %></div>
<div><%= f.label :password %><br /> <div><%= f.label :password %><br />
<%= f.password_field :password %></div> <%= f.password_field :password %></div>

View File

@ -54,9 +54,6 @@
<% else %> <% else %>
<li><%= link_to "Sign in", new_user_session_path, <li><%= link_to "Sign in", new_user_session_path,
:method => :get %></li> :method => :get %></li>
<li><%= link_to "Register", new_user_registration_path,
:method => :get %></li>
<% end %> <% end %>
</ul> </ul>
</div><!--/.nav-collapse --> </div><!--/.nav-collapse -->