Sha256: 3db20914b5494150c798d5f7140afbd44fd917bfbecf606f119ac14fe4a176ec

Contents?: true

Size: 221 Bytes

Versions: 10

Compression:

Stored size: 221 Bytes

Contents

= formula_form_for(@<%= singular_table_name %>) do |form|
  <%- attributes.each do |attribute| -%>
  = form.<%= attribute.reference? ? :association : :input %> :<%= attribute.name %>
  <%- end -%>

  = form.button :submit

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
formula-2.0.1 lib/generators/attached/templates/_form.html.slim
formula-2.0.1 lib/generators/attached/templates/_form.html.haml
formula-2.0.0 lib/generators/attached/templates/_form.html.haml
formula-2.0.0 lib/generators/attached/templates/_form.html.slim
formula-1.1.1 lib/generators/attached/templates/_form.html.slim
formula-1.1.1 lib/generators/attached/templates/_form.html.haml
formula-1.1.0 lib/generators/attached/templates/_form.html.slim
formula-1.1.0 lib/generators/attached/templates/_form.html.haml
formula-1.0.2 lib/generators/attached/templates/_form.html.slim
formula-1.0.2 lib/generators/attached/templates/_form.html.haml