Sha256: d0b30bb671621ceb3b52ae9ebcf097538cd08c62b200943e7a7e5b29e64508dd

Contents?: true

Size: 402 Bytes

Versions: 2

Compression:

Stored size: 402 Bytes

Contents

= error_messages_for :<%= singular_name %>

- form_for <%= form_link_for(table_name, singular_name) %> do |f|
<% for attribute in attributes -%>
  %div.field
    = f.label(:<%= attribute.name %>, st("<%= singular_name %>.field.<%= attribute.name %>.name"))
    = f.<%= attribute.field_type %>(:<%= attribute.name %> )
<% end %>
  %div.submit
    = f.submit st("<%= singular_name %>.action.update.name")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jeffkreeftmeijer-awesome_scaffold-0.0.0 lib/templates/view_edit_haml.erb
jeffkreeftmeijer-awesome_scaffold-0.0.1 lib/templates/view_edit_haml.erb