app/views/users/registrations/edit.html.erb in phcdevworks_accounts-1.2.0 vs app/views/users/registrations/edit.html.erb in phcdevworks_accounts-1.3.0

- old
+ new

@@ -1,48 +1,47 @@ -<!-- Title System --> +<!-- PHCTitleSEO Title Variables --> <% phc_title resource_name.to_s.humanize + " Account Information" %> <% phc_title_tagline "Edit Your " + resource_name.to_s.humanize + " Account Information" %> <% phc_breadcrumb_one link_to "Home", main_app.root_path %> <% phc_breadcrumb_two link_to "Accounts Dashboard", phcdevworks_accounts.dashboard_path %> <% phc_breadcrumb_three yield(:phc_title_tagline) %> -<!-- Title System --> +<!-- PHCTitleSEO Title Variables --> -<!-- BreakCrumbs & Header --> +<!-- Page Bradcrumbs --> <ol class="breadcrumb pull-right"> <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li> <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li> <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li> </ol> +<!-- Page Bradcrumbs --> + +<!-- Page Header --> <h2 class="page-header"><%= yield(:phc_title) %></h2> -<!-- BreakCrumbs & Header --> +<!-- Page Header --> <!-- Page Content --> <div class="row"> <div class="col-lg-12"> <!-- Panel --> <div class="panel panel-inverse"> <!-- Panel - Heading --> <div class="panel-heading"> - <!-- Panel - Actions --> - <div class="panel-heading-btn"> - <a href="#" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a> - <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a> - <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a> - </div> - <!-- Panel - Actions --> <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: registration_path(resource_name), html: { method: :put }) do |form| %> + <!-- Devise Error Message --> <%= devise_error_messages! %> + <!-- Devise Error Message --> <div class="form-group"> <%= form.label :firstname, "First Name" %> <%= form.text_field :firstname, class: "form-control", placeholder: "First Name" %> </div> @@ -65,11 +64,11 @@ <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div> <% end %> <div class="form-group"> - <%= form.label :password, "New Password" %> <i>(leave blank if you don't want to change it)</i> + <%= form.label :password, "New Password" %> <i>(leave blank if you don"t want to change it)</i> <%= form.password_field :password, class: "form-control", placeholder: "New Password", autocomplete: "off" %> </div> <div class="form-group"> <%= form.password_field :password_confirmation, class: "form-control", placeholder: "Confirm New Password", autocomplete: "off" %> @@ -87,9 +86,10 @@ <div class="actions"> <%= form.submit "Update", class: "btn btn-w-m btn-primary" %> </div> <% end %> + <!-- Edit Form --> </div> <!-- Panel - Body --> </div>