Sha256: 9c3cf58b8ee8dcad72213959b1ce1229293d0004f604bf617c3942a9d8e4300a

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

<div class="modal fade" id="modal-forget-password">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title"><%%= t(:forgot_password, :default => "Forgot password") %></h5>
        <button type="button" class="close" data-dismiss="modal">×</button>
      </div>
      <div class="modal-body">
        <%%= form_for('<%= model %>', :as => '<%= model %>', :url => password_path('<%= model %>'), :html => { :method => :post, :class => "form-horizontal" }) do |f| %>
          <div class="form-group">
            <%%= f.label :email, t(:email, :default => "Email"), :class => "control-label" %>
            <div>
              <%%= f.email_field :email %>
            </div>
          </div>
          <div class="form-group">
            <div>
              <%%= f.submit t(:send_me_reset_password_instructions, :default => "Send me reset password instructions"), :class => 'btn btn-light' %>
            </div>
          </div>
        <%% end %>
      </div>
    </div>
  </div>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
beautiful_scaffold-2.0.3 lib/generators/templates/app/views/partials/_forget_password.html.erb
beautiful_scaffold-2.0.2 lib/generators/templates/app/views/partials/_forget_password.html.erb
beautiful_scaffold-2.0.1 lib/generators/templates/app/views/partials/_forget_password.html.erb
beautiful_scaffold-2.0.0 lib/generators/templates/app/views/partials/_forget_password.html.erb
beautiful_scaffold-2.0.0.pre lib/generators/templates/app/views/partials/_forget_password.html.erb