Sha256: e5b28f07dbed15fcb9c61f2bc48f2f80fa0d0bdee3d2b5e4150e0ba9f15bcfdf
Contents?: true
Size: 843 Bytes
Versions: 23
Compression:
Stored size: 843 Bytes
Contents
<%- strformfor = "@#{singular_table_name}" if not namespace_alone.blank? then strformfor = "[:#{namespace_alone}, @#{singular_table_name} ]" end -%> <%%= form_for(<%= strformfor %>, :html => { :class => "form-horizontal" }) do |f| %> <%% if @<%= singular_table_name %>.errors.any? %> <div id="error_explanation"> <h2><%%= pluralize(@<%= singular_table_name %>.errors.count, "error") %> prohibited this <%= singular_table_name %> from being saved:</h2> <ul> <%% @<%= singular_table_name %>.errors.full_messages.each do |msg| %><li><%%= msg %></li><%% end %> </ul> </div> <%% end %> <%= render_partial 'app/views/partials/_form_field.html.erb' %><!-- Beautiful_scaffold - AddField - Do not remove --> <div class="form-actions"> <%%= f.submit :class => "btn btn-primary" %> </div> <%% end %>
Version data entries
23 entries across 23 versions & 1 rubygems