1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-03 13:30:02 +00:00

making navbar mobile friendly

This commit is contained in:
2016-02-23 14:12:26 -05:00
parent 731131073f
commit 2b4c9aff8b
3 changed files with 26 additions and 19 deletions

View File

@@ -1,17 +1,17 @@
<h2>Sign in</h2>
<h2 class="form-signin-heading">Sign in</h2>
<%= form_for(resource, :as => resource_name, :url => session_path(resource_name)) do |f| %>
<div><%= f.label :email %><br />
<%= f.email_field :email, :autofocus => true %></div>
<div><%= f.label :email ,:class=>"sr-only"%><br />
<%= f.email_field :email, :autofocus => true,:class=>"form-control",:placeholder=>"Email Address" %></div>
<div><%= f.label :password %><br />
<%= f.password_field :password %></div>
<div><%= f.label :password,:class=>"sr-only" %><br />
<%= f.password_field :password,:class=>"form-control",:placeholder=>"Password" %></div>
<% if devise_mapping.rememberable? -%>
<div><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
<div class="checkbox"><%= f.check_box :remember_me %> <%= f.label :remember_me %></div>
<% end -%>
<div><%= f.submit "Sign in" ,:class=>"btn btn-success"%></div>
<div><%= f.submit "Sign in" ,:class=>"btn btn-lg btn-primary btn-block" %></div>
<% end %>
<br>
<br>