Sha256: 6a6f20a3e7fd10b035518830f7308003999dfbeaab3ba6edcc1e48173904467d
Contents?: true
Size: 1008 Bytes
Versions: 3
Compression:
Stored size: 1008 Bytes
Contents
<% @title = 'Change your password' %> <div class="page-header"> <h1><%= @title %></h1> </div> <%= form_for(resource, :as => resource_name, :url => password_path(resource_name), :html => { :method => :put, class: 'form-horizontal' }) do |f| %> <%= devise_error_messages! %> <%= f.hidden_field :reset_password_token %> <div class="form-group"> <%= f.label :password, "New password", class: 'col-md-2 control-label' %> <div class="col-md-10"> <%= f.password_field :password, class: 'form-control' %> </div> </div> <div class="form-group"> <%= f.label :password_confirmation, "Confirm new password", class: 'col-md-2 control-label' %> <div class="col-md-10"> <%= f.password_field :password_confirmation, class: 'form-control' %> </div> </div> <div class="form-group"> <div class="col-md-10 col-md-offset-2"> <%= f.submit "Change my password", class: 'btn btn-primary' %> <%= render partial: 'contour/links' %> </div> </div> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems