Sha256: 1322826c15e517a70425f5da19320e8ae2f9250b37d7f06496e4dd0e7299ee11

Contents?: true

Size: 272 Bytes

Versions: 1

Compression:

Stored size: 272 Bytes

Contents

= simple_form_for(<%= singular_table_name %>) do |f|
  = f.error_notification

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

  .form-actions
    = f.button :submit

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arrate-0.0.1 lib/templates/haml/scaffold/_form.html.haml