">
- <%= f.label :name, class: "control-label" %>
- <%= f.text_field :name, class: "form-control", value: current_user.name, required: true %>
- <%= errors_for resource, :name %>
-
-
- ">
- <%= f.label :email, class: "control-label" %>
- <%= f.email_field :email, class: "form-control", value: current_user.email, required: true %>
- <%= errors_for resource, :email %>
-
-
- <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
- Currently waiting confirmation for: <%= resource.unconfirmed_email %>
- <% end %>
-
- ">
- <%= f.label :password, class: "control-label" %>
- <%= f.password_field :password, class: "form-control", autocomplete: false %>
- <%= errors_for resource, :password %>
-
-
- ">
- <%= f.label :password_confirmation, class: "control-label" %>
- <%= f.password_field :password_confirmation, class: "form-control" %>
- <%= errors_for resource, :password_confirmation %>
-
-
- ">
- <%= f.label :current_password, class: "control-label" %>
- <%= f.password_field :current_password, class: "form-control" %>
- <%= errors_for resource, :current_password %>
-
-
- <%= f.submit "Update", class: "btn btn-primary" %>
+
+ ">
+ <%= f.label :name, class: "control-label" %>
+ <%= f.text_field :name, class: "form-control", value: current_user.name, required: true %>
+ <%= errors_for resource, :name %>
+
+
+ ">
+ <%= f.label :email, class: "control-label" %>
+ <%= f.email_field :email, class: "form-control", value: current_user.email, required: true %>
+ <%= errors_for resource, :email %>
+
+
+ <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
+ Currently waiting confirmation for: <%= resource.unconfirmed_email %>
+ <% end %>
+
+ ">
+ <%= f.label :password, class: "control-label" %>
+ <%= f.password_field :password, class: "form-control", autocomplete: false %>
+ <%= errors_for resource, :password %>
+
+
+ ">
+ <%= f.label :password_confirmation, class: "control-label" %>
+ <%= f.password_field :password_confirmation, class: "form-control" %>
+ <%= errors_for resource, :password_confirmation %>
+
+
+ ">
+ <%= f.label :current_password, class: "control-label" %>
+ <%= f.password_field :current_password, class: "form-control" %>
+ <%= errors_for resource, :current_password %>
+
+
+ <%= f.submit "Update", class: "btn btn-primary" %>
<% end %>