Sha256: f04ebabc5adc9b7ec9f919f2d7cd8262f16f5cae61728631e231bb9c88d2a903

Contents?: true

Size: 282 Bytes

Versions: 5

Compression:

Stored size: 282 Bytes

Contents

= form_for(@<%= singular_table_name %>) do |f|
  = f.error_notification
  = f.base_errors

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

  .form-actions
    = f.submit_or_cancel

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stationed-0.4.0 lib/templates/haml/scaffold/_form.html.haml
stationed-0.3.0 lib/templates/haml/scaffold/_form.html.haml
stationed-0.2.0 lib/templates/haml/scaffold/_form.html.haml
stationed-0.1.0 lib/templates/haml/scaffold/_form.html.haml
stationed-0.0.1 lib/templates/haml/scaffold/_form.html.haml