Sha256: 69214a40098883f44fa25d4447fe709d9594ce4ad5554c7dd5c0592bca9d7e92
Contents?: true
Size: 1.87 KB
Versions: 58
Compression:
Stored size: 1.87 KB
Contents
<div class="col-md-4 col-md-offset-4"> <h2><%=t("devise.registrations.edit.title", resource: resource_name.to_s.humanize)%></h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> <%= devise_error_messages! %> <div class="field"> <%= f.label :username %><br /> <%= f.email_field :username, autofocus: true, :class => "form-control" %> </div> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <div><%=t("devise.registrations.edit.currently_waiting_confirmation_for_email", {resource: resource.unconfirmed_email})%></div> <% end %> <div class="field"> <%= f.label :password %> <i><%=t("devise.shared.descriptions.leave_blank")%></i><br /> <%= f.password_field :password, autocomplete: "off", :class => "form-control" %> <% if @minimum_password_length %> <br /> <em><%=t "devise.validations.minimum_length", length: @minimum_password_length %></em> <% end %> </div> <div class="field"> <%= f.label :password_confirmation %><br /> <%= f.password_field :password_confirmation, autocomplete: "off", :class => "form-control" %> </div> <div class="field"> <%= f.label :current_password %> <i><%=t("devise.shared.descriptions.current_password_needed")%></i><br /> <%= f.password_field :current_password, autocomplete: "off", :class => "form-control" %> </div> <div class="actions"> <%= f.submit t("devise.registrations.edit.update"), :class => "btn btn-warning" %> </div> <% end %> <h3><%=t("devise.registrations.edit.cancel_my_account")%></h3> <p><%=t("devise.registrations.edit.unhappy")%> <%= button_to t("devise.registrations.edit.cancel_my_account"), registration_path(resource_name), data: { confirm: t("devise.registrations.edit.are_you_sure") }, method: :delete %></p> <%= link_to t("devise.shared.links.back"), :back %> </div>
Version data entries
58 entries across 58 versions & 3 rubygems