Sha256: 18265557d4371109712d5c11b9609c65df7ecdfebd5d8b57cc66ee511bcf9907

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 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

2 entries across 2 versions & 1 rubygems

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