app/views/devise/sessions/new.html.erb in mtdevise-5.0.0 vs app/views/devise/sessions/new.html.erb in mtdevise-5.0.1

- old
+ new

@@ -1,32 +1,32 @@ -<div class="container"> - <div id="loginbox" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2"> - <div class="panel panel-primary"> - <div class="panel-heading"> - <div class="panel-title">User Sign-In</div> - </div> - <div style="padding-top:30px" class="panel-body"> - <%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { role: "form" }) do |f| %> - <%= devise_error_messages! %> - - <div style="margin-bottom: 25px" class="input-group"> - <span class="input-group-addon"><i class="fa fa-envelope"></i></span> - <%= f.email_field :email, required: true, autofocus: true, class: "form-control", :placeholder => "Email" %> - </div> - <div class="input-group"> - <span class="input-group-addon"><i class="fa fa-asterisk"></i></span> - <%= f.password_field :password, required: true, autocomplete: "off", class: "form-control", :placeholder => "Password" %> - </div> - <div class="checkbox"> - <%= f.check_box :remember_me, as: :boolean, inline_label: 'Remember me' if devise_mapping.rememberable? %> - </div> - <div style="margin-top:10px" class="form-group"> - <%= f.submit "Sign-In", class: "btn btn-primary" %> - </div> - <div id="loginborder" > - <%= render "devise/shared/links" %> - </div> - <% end %> - </div> - </div> - </div> +<div class="container"> + <div id="loginbox" class="mainbox col-md-6 col-md-offset-3 col-sm-8 col-sm-offset-2"> + <div class="panel panel-primary"> + <div class="panel-heading"> + <div class="panel-title">User Sign-In</div> + </div> + <div style="padding-top:30px" class="panel-body"> + <%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { role: "form" }) do |f| %> + <%= devise_error_messages! %> + + <div style="margin-bottom: 25px" class="input-group"> + <span class="input-group-addon"><i class="fa fa-envelope"></i></span> + <%= f.email_field :email, required: true, autofocus: true, class: "form-control", :placeholder => "Email" %> + </div> + <div class="input-group"> + <span class="input-group-addon"><i class="fa fa-asterisk"></i></span> + <%= f.password_field :password, required: true, autocomplete: "off", class: "form-control", :placeholder => "Password" %> + </div> + <div class="checkbox"> + <%= f.check_box :remember_me, as: :boolean, inline_label: 'Remember me' if devise_mapping.rememberable? %> + </div> + <div style="margin-top:10px" class="form-group"> + <%= f.submit "Sign-In", class: "btn btn-primary" %> + </div> + <div id="loginborder" > + <%= render "devise/shared/links" %> + </div> + <% end %> + </div> + </div> + </div> </div> \ No newline at end of file