Sha256: 853ea71314154a74716d9620cacba68a2ce9f8ab5982396edb516f9d4fccd9ce

Contents?: true

Size: 403 Bytes

Versions: 10

Compression:

Stored size: 403 Bytes

Contents

.container-fluid
  = simple_form_for(@<%= singular_table_name %>, remote_form_options) do |f|
    = f.error_notification
    = f.error :base, :error_method => :to_sentence

    .form-inputs
    <%- attributes.each do |attribute| -%>
      = f.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %>
    <%- end -%>

    .form-actions.col-sm-7.col-sm-offset-5
      = f.button :submit

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
bootbox_crud-0.2.1 lib/templates/haml/scaffold/_form.html.haml
bootbox_crud-0.2.0 lib/templates/haml/scaffold/_form.html.haml
bootbox_crud-0.1.1.7 lib/templates/haml/scaffold/_form.html.haml
bootbox_crud-0.1.1.6 lib/templates/haml/scaffold/_form.html.haml
bootbox_crud-0.1.1.5 lib/templates/haml/scaffold/_form.html.haml
bootbox_crud-0.1.1.4 lib/templates/haml/scaffold/_form.html.haml
bootbox_crud-0.1.1.3 lib/templates/haml/scaffold/_form.html.haml
bootbox_crud-0.1.1.2 lib/templates/haml/scaffold/_form.html.haml
bootbox_crud-0.1.1.1 lib/templates/haml/scaffold/_form.html.haml
bootbox_crud-0.1.1 lib/templates/haml/scaffold/_form.html.haml