Sha256: 03aec8973ca36949a17b0c9956b6bbbd93422992988b416f1dcc25f4db0f9e8e
Contents?: true
Size: 834 Bytes
Versions: 3
Compression:
Stored size: 834 Bytes
Contents
<%%= form_for @<%= table_name.singularize %> do |f| %> <table class="outer"> <% @attr_cols.each do |col| %> <tr> <% if options.datepicker? && [:date, :time, :datetime].include?(col.type) %> <td><%%= f.hd_label :<%= col.name %> %> <td class="field"><%%= f.hd_picker :<%= col.name %> %></td> <% else %> <td><%%= f.label :<%= col.name %> %></td> <td class="field"><%%= f.<%= col.field_type %> :<%= col.name %> %></td> <% end %> </tr> <% 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" %> </td> <% else %> <td colspan="2"><%%= f.submit %></td> <% end %> </tr> </table> <%% end %> <br /> <%%= link_to "Back", <%= table_name %>_path %>
Version data entries
3 entries across 3 versions & 1 rubygems