Sha256: e653d52cbaae835955fd4d7a0acaa697576da699f4a8cca9abf3a170ce76a360

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

<%%= generic_form_for @<%= singular_name %> do |f| %>
  <%%= f.inputs do %>
  <%- attributes.each do |attribute| -%>
    <%%= f.input :<%= attribute.name %> %>
  <%- end -%>
  <%% end %>

  <%%= f.actions do %>
    <%%= f.action :submit %>
  <%% end %>
<%% end %>

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
generic_form_for-0.0.1 lib/generators/generic_form_for/install/templates/_form.html.erb
generic_form_for-0.0.1 sample_app/lib/templates/erb/scaffold/_form.html.erb