Sha256: fafc1a4925b7cd517b0f5e166bd4873b8abd0af933b61f335608df0e60bfa64a

Contents?: true

Size: 345 Bytes

Versions: 1

Compression:

Stored size: 345 Bytes

Contents

= form_for(@<%= singular_table_name %>) do |f|
  <%- object = "@#{singular_table_name}" -%>
  = render 'error_messages', <%= key_value :target, object %>

<%- attributes.each do |attribute| -%>
  .field
    = f.label :<%= attribute.name %>
    %br
    = f.<%= attribute.field_type %> :<%= attribute.name %>
<%- end -%>
  .actions
    = f.submit

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rieles-0.0.5 lib/templates/haml/scaffold/_form.html.haml