Sha256: 90c246d35f1343ab1b637c7d91468a4aba7af9f5bb52008e729c0594300c0c21
Contents?: true
Size: 705 Bytes
Versions: 3
Compression:
Stored size: 705 Bytes
Contents
<%%= form_for [:admin, @<%=module_name_formatted.singularize%>], :builder => TbCore::FormBuilder, :html => {:class => 'form-horizontal'} do |f| %> <%%= tb_form_error_header(f.object) %> <%- attributes.collect{ |att| att.split(':') }.each do |arg_0, arg_1| %> <%= field_for_attribute(arg_1, arg_0) %> <%- end %> <%%= f.tb_save_buttons('<%= module_name_formatted.singularize.humanize.titlecase %>', @<%= module_name_formatted.singularize %>.new_record? ? admin_<%= module_name_formatted %>_path : admin_<%= module_name_formatted.singularize %>_path(@<%= module_name_formatted.singularize %>)) %> <%% end %> <script> $(document).ready(app.admin.<%= module_name_formatted %>.edit); </script>
Version data entries
3 entries across 3 versions & 1 rubygems