app/views/devise/sessions/new.html.erb in leather-0.0.5 vs app/views/devise/sessions/new.html.erb in leather-0.0.6

- old
+ new

@@ -1,32 +1,30 @@ <div class="container"> <%= render "devise/shared/welcome", subtitle: "Sign in to your account." %> <div class="row"> <div class="col-md-6 col-md-offset-3"> - <div class="devise-box"> - <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> - <div class="form-group" > - <%= f.label :email, "Email address" %> - <%= f.email_field :email, autofocus: true, class: "form-control" %> - </div> + <%= form_for(resource, as: resource_name, url: session_path(resource_name)) do |f| %> + <div class="form-group"> + <%= f.label :email, "Email address" %> + <%= f.email_field :email, autofocus: true, class: "form-control" %> + </div> - <div class="form-group"> - <%= f.label :password %> - <%= f.password_field :password, autocomplete: "off", class: "form-control" %> - </div> + <div class="form-group"> + <%= f.label :password %> + <%= f.password_field :password, autocomplete: "off", class: "form-control" %> + </div> - <% if devise_mapping.rememberable? -%> - <div> - <%= f.check_box :remember_me %> <%= f.label :remember_me %> - <span class="pull-right"><%= link_to "Forgot your password?", new_password_path(resource_name) %></span> - </div> - <% end -%> - - <div class="actions"> - <%= f.submit "Sign in", class: "btn btn-default" %> + <% if devise_mapping.rememberable? -%> + <div> + <%= f.check_box :remember_me %> <%= f.label :remember_me %> + <span class="pull-right"><%= link_to "Forgot your password?", new_password_path(resource_name) %></span> </div> - <% end %> - </div> + <% end -%> + + <div class="actions"> + <%= f.submit "Sign in", class: "btn btn-default" %> + </div> + <% end %> <%= render "devise/shared/links" %> </div> </div> </div> \ No newline at end of file