Sha256: d2581ff8ad5fb257f6d1f4122f8b103265a28f36368072463f290525346c7169
Contents?: true
Size: 530 Bytes
Versions: 21
Compression:
Stored size: 530 Bytes
Contents
<%- @orm.column_fields.each do |column| -%> .group =f.label :<%= column[:name] %> =f.error_message_on :<%= column[:name] %> <% if column[:field_type] == :text_area %>~<% else %>=<% end %>f.<%= column[:field_type] %> :<%= column[:name] %>, :class => :<%= column[:field_type] %> %span.description Ex: a simple text <%- end -%> .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
Version data entries
21 entries across 21 versions & 2 rubygems