Sha256: c840f1022df611e4434a01c1925f1ac5ae2b16631612008cfbfd9ec9b62f04a3

Contents?: true

Size: 249 Bytes

Versions: 5

Compression:

Stored size: 249 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 %>
<%% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

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