Sha256: ecb078a63232988fae9ece468524bfdf282bab6e1a6c7e37e40116ade14bced9
Contents?: true
Size: 692 Bytes
Versions: 3
Compression:
Stored size: 692 Bytes
Contents
=form_for @<%= table_name.singularize %> do |f| %table.outer <% @attr_cols.each do |col| %> %tr <% if options.datepicker? && [:date, :time, :datetime].include?(col.type) %> %td= f.hd_label :<%= col.name %> %td.field= f.hd_picker :<%= col.name %> <% else %> %td= f.label :<%= col.name %> %td.field= f.<%= col.field_type %> :<%= col.name %> <% end %> <% end %> %tr <% if options.ext_form_submit? %> %td{:colspan => "2", :style => "text-align: center;"} = f.submit "Save & Back to List", name: "btn_index" = f.submit "Save & Reload", name: "btn_reload" <% else %> %td{:colspan => "2"}= f.submit <% end %> %br/ = link_to "Back", <%= table_name %>_path
Version data entries
3 entries across 3 versions & 1 rubygems