Sha256: fca344422cf36438548b863066686f54884b24c0a8d46ef345d0b3f98510aa75

Contents?: true

Size: 678 Bytes

Versions: 2

Compression:

Stored size: 678 Bytes

Contents

<div class="devise-bootstrap-form">
  <div class="devise-bootstrap-form-row">
    <div class="devise-bootstrap-form-col">
      <h2 class="text-center"><%= t "devise.invitations.new.header" %></h2>

      <%= bootstrap_form_for resource, :as => resource_name, :url => invitation_path(resource_name), :html => {:method => :post} do |f| %>
        <%= render "devise/shared/error_messages", resource: resource %>

      <% resource.class.invite_key_fields.each do |field| -%>
        <%= f.text_field field %>
      <% end -%>

        <%= f.submit t("devise.invitations.new.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/new.html.erb
devise-bootstrap-form-0.3.0 app/views/devise/invitations/new.html.erb