Sha256: f98e089b2f75b2b97d776563ab65e456e18a7f9430d52b4c03c465308dc87f0e

Contents?: true

Size: 923 Bytes

Versions: 4

Compression:

Stored size: 923 Bytes

Contents

<% content_for :breadcrumb do %>
<ol class="breadcrumb">
  <li><%= link_to _('Sign in'), new_session_path(resource_name) %></li>
  <li class="active"><%= _('Password reset') %></li>
</ol>
<% end %>

<%= form_for(resource, as: resource_name, url: password_path(resource_name), html: {method: :post, role: 'form'}) do |f| %>
<% if resource.errors.any? %>
  <div class="alert alert-danger">
  <% resource.errors.full_messages.each do |message| %>
    <p><%= message %></p>
  <% end %>
  </div>
<% end %>

  <div class="form-group<% if resource.errors[:email].any? %> has-error has-feedback<% end %>">
    <%= f.label :email %>
    <%= f.email_field :email, autofocus: true, class: 'form-control' %>
  <% if resource.errors[:email].any? %>
    <span class="glyphicon glyphicon-remove form-control-feedback"></span>
  <% end %>
  </div>

  <%= f.button _('Email a link to reset password'), class: 'btn btn-primary' %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
citizen_budget_model-0.0.4 app/views/devise/passwords/new.html.erb
citizen_budget_model-0.0.3 app/views/devise/passwords/new.html.erb
citizen_budget_model-0.0.2 app/views/devise/passwords/new.html.erb
citizen_budget_model-0.0.1 app/views/devise/passwords/new.html.erb