app/views/users/passwords/edit.html.erb in phcdevworks_accounts-3.2.4 vs app/views/users/passwords/edit.html.erb in phcdevworks_accounts-3.3.0
- old
+ new
@@ -1,78 +1,78 @@
-<!-- PHCTitleSEO Title Variables -->
-<% phc_title resource_name.to_s.humanize + " Edit Password" %>
-<% phc_title_tagline "Edit Your " + resource_name.to_s.humanize + " Edit Password" %>
-<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Accounts Home", phcdevworks_accounts.user_path %>
-<% phc_breadcrumb_two yield(:phc_title_tagline) %>
-<!-- PHCTitleSEO Title Variables -->
-
-<!-- Page Bradcrumbs -->
-<ol class="breadcrumb pull-right">
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
-</ol>
-<!-- Page Bradcrumbs -->
-
-<!-- Page Header -->
-<h2 class="page-header"><%= yield(:phc_title) %></h2>
-<!-- Page Header -->
-
-<!-- Page Content -->
-<div class="row">
- <div class="col-lg-12">
-
- <!-- Panel -->
- <div class="panel panel-inverse">
-
- <!-- Panel - Heading -->
- <div class="panel-heading">
- <h4 class="panel-title"><%= yield(:phc_title) %></h4>
- </div>
- <!-- Panel - Heading -->
-
- <!-- Panel - Body -->
- <div class="panel-body">
-
- <!-- Edit Form -->
- <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |form| %>
-
- <!-- Devise Error Message -->
- <%= render "devise/shared/error_messages", resource: resource %>
- <!-- Devise Error Message -->
-
- <!-- Reset Password Token -->
- <%= form.hidden_field :reset_password_token %>
- <!-- Reset Password Token -->
-
- <div class="form-group">
- <%= form.label :password, "New password" %>
- <% if @minimum_password_length %>
- <em>(<%= @minimum_password_length %> characters minimum)</em>
- <% end %>
- <%= form.password_field :password, autofocus: true, autocomplete: "off" %>
- </div>
-
- <div class="form-group">
- <%= form.label :password_confirmation, "Confirm new password" %>
- <%= form.password_field :password_confirmation, autocomplete: "off" %>
- </div>
-
- <div class="actions">
- <%= form.submit "Change my password" %>
- </div>
-
- <% end %>
- <!-- Edit Form -->
-
- <!-- Devise Links -->
- <%= render "devise/shared/links" %>
- <!-- Devise Links -->
-
- </div>
- <!-- Panel - Body -->
-
- </div>
- <!-- Panel -->
-
- </div>
-</div>
-<!-- Page Content -->
+<!-- PHCTitleSEO Title Variables -->
+<% phc_title resource_name.to_s.humanize + " Edit Password" %>
+<% phc_title_tagline "Edit Your " + resource_name.to_s.humanize + " Edit Password" %>
+<% phc_breadcrumb_one link_to resource_name.to_s.humanize + " Accounts Home", phcdevworks_accounts.user_path %>
+<% phc_breadcrumb_two yield(:phc_title_tagline) %>
+<!-- PHCTitleSEO Title Variables -->
+
+<!-- Page Bradcrumbs -->
+<ol class="breadcrumb pull-right">
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
+</ol>
+<!-- Page Bradcrumbs -->
+
+<!-- Page Header -->
+<h2 class="page-header"><%= yield(:phc_title) %></h2>
+<!-- Page Header -->
+
+<!-- Page Content -->
+<div class="row">
+ <div class="col-lg-12">
+
+ <!-- Panel -->
+ <div class="panel panel-inverse">
+
+ <!-- Panel - Heading -->
+ <div class="panel-heading">
+ <h4 class="panel-title"><%= yield(:phc_title) %></h4>
+ </div>
+ <!-- Panel - Heading -->
+
+ <!-- Panel - Body -->
+ <div class="panel-body">
+
+ <!-- Edit Form -->
+ <%= form_for(resource, as: resource_name, url: password_path(resource_name), html: { method: :put }) do |form| %>
+
+ <!-- Devise Error Message -->
+ <%= render "devise/shared/error_messages", resource: resource %>
+ <!-- Devise Error Message -->
+
+ <!-- Reset Password Token -->
+ <%= form.hidden_field :reset_password_token %>
+ <!-- Reset Password Token -->
+
+ <div class="form-group">
+ <%= form.label :password, "New password" %>
+ <% if @minimum_password_length %>
+ <em>(<%= @minimum_password_length %> characters minimum)</em>
+ <% end %>
+ <%= form.password_field :password, autofocus: true, autocomplete: "off" %>
+ </div>
+
+ <div class="form-group">
+ <%= form.label :password_confirmation, "Confirm new password" %>
+ <%= form.password_field :password_confirmation, autocomplete: "off" %>
+ </div>
+
+ <div class="actions">
+ <%= form.submit "Change my password" %>
+ </div>
+
+ <% end %>
+ <!-- Edit Form -->
+
+ <!-- Devise Links -->
+ <%= render "devise/shared/links" %>
+ <!-- Devise Links -->
+
+ </div>
+ <!-- Panel - Body -->
+
+ </div>
+ <!-- Panel -->
+
+ </div>
+</div>
+<!-- Page Content -->