Sha256: 20897da87b073897b444938eefc2b651b18e8de122e534713b79b36e9ca2812d
Contents?: true
Size: 612 Bytes
Versions: 10
Compression:
Stored size: 612 Bytes
Contents
<%%= tb_form_for [:admin, @<%=module_name_formatted.singularize%>], :remote => true, :data => {:errors => :inline, :success => admin_<%= module_name_formatted %>_path} do |f| %> <%%= tb_form_errors(f.object, :base) %> <%- 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 %>', admin_<%= module_name_formatted %>_path) %> <%% end %> <script> document.addEventListener('DOMContentLoaded', app.admin.<%= module_name_formatted %>.edit); </script>
Version data entries
10 entries across 10 versions & 1 rubygems