Sha256: 2218ca8e5fa3f52c5ba13b13899e3253ab31efea49bded0ef94150fc50278366
Contents?: true
Size: 589 Bytes
Versions: 3
Compression:
Stored size: 589 Bytes
Contents
= form_for @<%= singular_table_name %> do |f| -if @<%= singular_table_name %>.errors.any? .alert-message.block-message.error %p= "#{pluralize(@<%= singular_table_name %>.errors.count, "error")} prohibited this <%= singular_table_name %> from being saved:" %ul - @<%= singular_table_name %>.errors.full_messages.each do |msg| %li= msg <% for attribute in attributes -%> .clearfix = f.label :<%= attribute.name %> .input = f.<%= attribute.field_type %> :<%= attribute.name %> <% end -%> .actions = f.submit :class => 'btn primary'
Version data entries
3 entries across 3 versions & 1 rubygems