Sha256: 143baf681a5d73091fb56ab4bdcb068673585c82924d74fb50c371bc9afdb4a9

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

<%= simple_form_for [parent, resource] do |form| -%>
  <%= form.error_notification %>

  <div class="form-inputs">
    <% form_fields.each do |form_field| -%>
      <%= render_form_field(form, form_field) -%>
    <% end -%>
  </div>

  <%= form.button :submit, class: "btn btn-primary" %>
  <%= form.button :submit, "Save and continue", :name => "commit_and_continue" %>

  <% unless resource.new_record? -%>
    <%= link_to "Delete", [parent, resource], :class => "btn btn-danger delete", :method => :delete, :data => { :confirm => 'Are you sure?' } %>
  <% end -%>

<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brightcontent-core-2.0.31 app/views/brightcontent/base/_form.html.erb