Sha256: ff84256437df880e31db0fd41837536905ea87f9dc1f1e75e4386fcc88bd39d3
Contents?: true
Size: 830 Bytes
Versions: 4
Compression:
Stored size: 830 Bytes
Contents
<%- strformfor = "@#{singular_table_name}" if not namespace_alone.blank? then strformfor = "[:#{namespace_alone}, @#{singular_table_name} ]" end -%> <%%= form_for(<%= strformfor %>, :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
4 entries across 4 versions & 1 rubygems