<% # WontoMedia - a wontology web application # Copyright (C) 2010 - Glen E. Ivey # www.wontology.com # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License version # 3 as published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program in the file COPYING and/or LICENSE. If not, # see "http://www.gnu.org/licenses/". %> <% content_for :head do %> <% end @title_text = filter_parenthetical h @item.title @window_title_addendum = " (Edit)" # initialize array to define "Glossary Help" box of links: @glossary_help_entries = [ [ 'Item', 'Help:GlossaryAtoO#anchor_Item' ] ] %>
Editing item<%= popup_help_icon "Help item edit", "Help:Popup/HeaderItemEdit" %>
<% form_for(@item, :url => item_path(@item)) do |f| %> <%= f.error_messages %> <%= render :partial => "class_select", :locals => { :f => f, :show_class_control => true } %> <%= render :partial => "form_fields", :locals => { :f => f } %>

<%= f.submit "Update", :tabindex => "150" %>

<% end %> <%= ruby_hash_to_javascript 'class_to_type', @class_to_item_map %> <% content_for :first_bottom_page_js do %> <% end %> <% content_for :last_bottom_page_js do %> <% end %>