Sha256: c4e8878aab62fc7941ac1d6c3552336f6379864469133c7412de526e4ad76b99

Contents?: true

Size: 1.22 KB

Versions: 4

Compression:

Stored size: 1.22 KB

Contents

<%= render 'cally/shared/header' %>
<%= render 'cally/shared/messages' %>
<%= render 'cally/shared/errors', obj: @user %>

<div class="row">
  <div class="col-md-4 col-md-offset-4">
    <div class="padded-mobile">
      <h1 class="centered">Enter your new Password</h1>
      <%= form_for :user, html: { class: 'form-horizontal'} do |f| %>
        <% if @user_key && @reset_key %>
          <%= f.hidden_field :user_key, value: @user_key %> 
          <%= f.hidden_field :reset_key, value: @reset_key %>
        <% else %>
          <%= f.hidden_field :user_key, value: user_key %>
          <%= f.hidden_field :reset_key, value: reset_key %>
        <% end %>

        <div class="form-group"><%= f.password_field :password, placeholder: 'Enter your new password', class: 'form-control password' %></div>
        <div class="form-group">
          <%= f.password_field :password_check, placeholder: 'Re-enter your password', class: 'form-control password-check' %>
        </div>
        <div class="form-group"><%= f.submit 'Change password', class: 'btn btn-primary btn-block submit-btn', disabled: 'disabled' %></div>
      <% end %>
    </div> <!-- end padded-mobile //-->
  </div> <!-- end col-md-4 div //-->
</div> <!-- end row div //-->

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cally-1.0.3 app/views/cally/users/reset.html.erb
cally-1.0.2 app/views/cally/users/reset.html.erb
cally-1.0.1 app/views/cally/users/reset.html.erb
cally-1.0.0 app/views/cally/users/reset.html.erb