Sha256: 8514ae227a82c3f08f09855f09d4ad2f7438536079f8b9d6d1e9d726b1d7c7ca

Contents?: true

Size: 808 Bytes

Versions: 2

Compression:

Stored size: 808 Bytes

Contents

<div class="devise-bootstrap-form">
  <div class="devise-bootstrap-form-row">
    <div class="devise-bootstrap-form-col">
      <h2><%= t 'devise.invitations.edit.header' %></h2>

      <%= bootstrap_form_for resource, :as => resource_name, :url => invitation_path(resource_name), :html => { :method => :put } do |f| %>
        <%= render "devise/shared/error_messages", resource: resource %>
        <%= f.hidden_field :invitation_token, readonly: true %>

        <% if f.object.class.require_password_on_accepting %>
        <%= f.password_field :password %>
        <%= f.password_field :password_confirmation, class: "required" %>
        <% end %>

        <%= f.submit t("devise.invitations.edit.submit_button"), class: "btn btn-primary btn-lg btn-block" %>
      <% end %>
    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
devise-bootstrap-form-0.4.0 app/views/devise/invitations/edit.html.erb
devise-bootstrap-form-0.3.0 app/views/devise/invitations/edit.html.erb