Edit code (HTML response)

This commit is contained in:
chris2tof 2011-06-10 15:02:34 +08:00
parent a695b9ad29
commit 96a43f023e
1 changed files with 1 additions and 1 deletions

View File

@ -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 %>