Sha256: e26c9f9415dc147414a0e2c5b6240b81feb71c614c753e208e0f41dcf54b561f

Contents?: true

Size: 550 Bytes

Versions: 11

Compression:

Stored size: 550 Bytes

Contents

<% @orm.column_fields.each do |column| -%>
<div class="group">
  <%%= f.label :<%= column[:name] %> %><%%= f.error_message_on :<%= column[:name] %> %>
  <%%= f.<%= column[:field_type] %> :<%= column[:name] %>, :class => :<%= column[:field_type] %> %>
  <span class="description">Ex: a simple text</span>
</div>
<% end %>
<div class="group navform wat-cf">
  <%%= f.submit pat(:save), :class => :button %>
  <%%= f.submit pat(:cancel), :onclick => "window.location='#{url(:<%= @orm.name_plural %>, :index)}';return false", :class => :button %>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
padrino-admin-0.10.7 lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.6 lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.6.e lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.6.d lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.6.c lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.6.b lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.6.a lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.5 lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.4 lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.3 lib/padrino-admin/generators/templates/erb/page/_form.erb.tt
padrino-admin-0.10.2 lib/padrino-admin/generators/templates/erb/page/_form.erb.tt