Sha256: bfd200afbc51d12fa7a9f372ce170344e6d893747d1e9bae0ccc23d26b47e215

Contents?: true

Size: 967 Bytes

Versions: 21

Compression:

Stored size: 967 Bytes

Contents

<%= render_navbar {} %>
<div class="login">
  <h2>Set new password password</h2>

  <% if @user.errors.any? %>
    <div id="error_explanation">
      <h2><%= pluralize(@user.errors.count, "error") %> occured:</h2>

      <ul>
      <% @user.errors.full_messages.each do |msg| %>
        <li><%= msg %></li>
      <% end %>
      </ul>
      <a href="#" class="close">x</a>
    </div>
  <% end %>
      
  <%= form_for(@user, url: password_reset_path(params[:id])) do |f| %>

    <%= hidden_field_tag :email, @user.email %>

    <div class="input-field">
      <%= f.password_field :password, placeholder: 'Enter a new password' %>
    </div>
    
    <div class="input-field">
      <%= f.password_field :password_confirmation, placeholder: 'Confirm your passwword' %>    
    </div>

    <br style="clear: both;" />
    <div class="submit">
      <%= submit_tag "Set new password" %>
      <a href="/">or go back to your blog.</a>
    </div>
  <% end %>
  
</div>


Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
jeygeethanmedia-inkpen-1.2.6.2 app/views/lines/password_resets/edit.html.erb
jeygeethanmedia-inkpen-1.2.6.1 app/views/lines/password_resets/edit.html.erb
lines-engine-1.2.6.1 app/views/lines/password_resets/edit.html.erb
lines-engine-1.2.6 app/views/lines/password_resets/edit.html.erb
lines-engine-1.2.5 app/views/lines/password_resets/edit.html.erb
lines-engine-1.2.3 app/views/lines/password_resets/edit.html.erb
lines-engine-1.2.2 app/views/lines/password_resets/edit.html.erb
lines-engine-1.2.1.1 app/views/lines/password_resets/edit.html.erb
lines-engine-1.2.1 app/views/lines/password_resets/edit.html.erb
lines-engine-1.2 app/views/lines/password_resets/edit.html.erb
lines-engine-1.1.5.3 app/views/lines/password_resets/edit.html.erb
lines-engine-1.1.5.2 app/views/lines/password_resets/edit.html.erb
lines-engine-1.1.5.1 app/views/lines/password_resets/edit.html.erb
lines-engine-1.1.5 app/views/lines/password_resets/edit.html.erb
lines-engine-1.1.4 app/views/lines/password_resets/edit.html.erb
lines-engine-1.1.3 app/views/lines/password_resets/edit.html.erb
lines-engine-1.1.2 app/views/lines/password_resets/edit.html.erb
lines-engine-1.1.1 app/views/lines/password_resets/edit.html.erb
lines-engine-1.1.0 app/views/lines/password_resets/edit.html.erb
lines-engine-1.0.0 app/views/lines/password_resets/edit.html.erb