Sha256: 288d59a864a198aa2d14e1706f8a36ec85d38f7c8b66f4eee74913ded9044f1c

Contents?: true

Size: 1.02 KB

Versions: 8

Compression:

Stored size: 1.02 KB

Contents

<div class="row">
  <div class="col-sm-6 ">
    <h1>Change your password</h1>

    <%= form_for(resource, :as => resource_name,
    :url => password_path(resource_name),
    :html => { :method => :put, :role => "form" }) do |f| %>

    <%= devise_error_messages! %>

    <%= f.hidden_field :reset_password_token %>

    <div class="form-group">
      <%= f.label :password, "New password" %>
      <div class="row">
        <div class="col-sm-6">
          <%= f.password_field :password, class: "form-control" %>
        </div>
      </div>
    </div>

    <div class="form-group">
      <%= f.label :password_confirmation, "Confirm new password" %>
      <div class="row">
        <div class="col-sm-6">
          <%= f.password_field :password_confirmation, class: "form-control" %>
        </div>
      </div>
    </div>

    <div class="row">
      <div class="col-sm-6">
        <%= f.submit "Change my password", class: "btn btn-danger" %>
      </div>
    </div>


    <% end %>

    <%= render "devise/shared/links" %>

  </div>
</div>

Version data entries

8 entries across 4 versions & 3 rubygems

Version Path
railsbricks-3.7.0 lib/railsbricks/assets/views/devise/devise_email/passwords/edit.html.erb
railsbricks-3.7.0 lib/railsbricks/assets/views/devise/devise_username/passwords/edit.html.erb
railsbricks-reloaded-3.2.1 lib/railsbricks/assets/views/devise/devise_username/passwords/edit.html.erb
railsbricks-reloaded-3.2.1 lib/railsbricks/assets/views/devise/devise_email/passwords/edit.html.erb
phoenixbricks-3.2.7 lib/railsbricks/assets/views/devise/devise_email/passwords/edit.html.erb
phoenixbricks-3.2.7 lib/railsbricks/assets/views/devise/devise_username/passwords/edit.html.erb
phoenixbricks-3.2.6 lib/railsbricks/assets/views/devise/devise_email/passwords/edit.html.erb
phoenixbricks-3.2.6 lib/railsbricks/assets/views/devise/devise_username/passwords/edit.html.erb