universal_table/app/views/admin/universal_tables/new_entry.html.erb

6 lines
274 B
Plaintext

<%= form_for @entry, url: "/admin/universal_tables/add_entry", html: {class: "form-horizontal main-forms"} do |f| %>
<fieldset>
<%= f.hidden_field :u_table_id, :value => @table.id %>
<%= render :partial => "entry_form", :locals => {:f => f} %>
</fieldset>
<% end %>