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

7 lines
313 B
Plaintext

<%= form_for @entry, url: "/admin/universal_tables/update_entry", html: {class: "form-horizontal main-forms"} do |f| %>
<fieldset>
<%= f.hidden_field_tag 'id', f.object.id %>
<%= f.hidden_field_tag 'page', params[:page] %>
<%= render :partial => "entry_form", :locals => {:f => f} %>
</fieldset>
<% end %>