Update views to not include signup option
This commit is contained in:
parent
35f2a92576
commit
e6bef83ddf
|
@ -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>
|
||||||
|
|
|
@ -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 -->
|
||||||
|
|
Loading…
Reference in New Issue