Sha256: b20801e050cfdd7ce3ab1781945567366825b2b2b623a4a7370bb5441f2d75ab

Contents?: true

Size: 457 Bytes

Versions: 1

Compression:

Stored size: 457 Bytes

Contents

= simple_form_for(<%= form_for %>) do |f|
<% for attribute in attributes -%>
  = f.input :<%= attribute.name %>
<% end -%>

<% if defined?(EffectiveResources) -%>
  = simple_form_submit(f)
<% else -%>
  %p.text-right
    = f.button :submit, 'Save', data: { disable_with: 'Saving...' }
    = f.button :submit, 'Save and Continue', data: { disable_with: 'Saving...' }
    = f.button :submit, 'Save and Add New', data: { disable_with: 'Saving...' }
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
effective_developer-0.0.10 lib/scaffolds/forms/_form.html.haml