Sha256: a6d01b9d41ea531a56f3fde3aab51e6a15f4393a3fc562d193a889c8a2fc4115

Contents?: true

Size: 285 Bytes

Versions: 2

Compression:

Stored size: 285 Bytes

Contents

= form_for(@<%= singular_table_name %>) do |f|
  = f.error_notification
  = f.full_error :base

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

  .form-actions
    = f.button :submit

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stationed-0.6.0 lib/templates/haml/scaffold/_form.html.haml
stationed-0.5.0 lib/templates/haml/scaffold/_form.html.haml