Edit code (HTML response)
This commit is contained in:
parent
a695b9ad29
commit
96a43f023e
|
@ -6,7 +6,7 @@
|
|||
|
||||
<%= form_for @item, :url => admin_page_path(@item) do |f| %>
|
||||
<%= f.error_messages %>
|
||||
<%= render :partial => "form", :locals => { :f => f } %>
|
||||
<%= render :partial => @code ? 'form_code' : 'form', :locals => { :f => f } %>
|
||||
|
||||
<p>
|
||||
<%= f.submit t('update') %> <%= link_back %>
|
||||
|
|
Reference in New Issue