Sha256: 8e3460136da55d33180a4ec091bf2200f4e09618209a4ad697804f91a6943174

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

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

<%- 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.8 lib/templates/haml/scaffold/_form.html.haml