Sha256: bdcb3f54c68ffc131639918535c741c48193ef7fec90f3a7effbdef2bd8b27dc
Contents?: true
Size: 1.64 KB
Versions: 4
Compression:
Stored size: 1.64 KB
Contents
<% # 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/". %> <p class="inputpara"> <%= f.label :sti_type, "Type" %> <%= popup_help_icon "Help for type", "Help:Popup/ItemType" %> <%= if @type == "verb" selections = [ [ "Property", "PropertyItem" ] ] @item.sti_type = "PropertyItem" else selections = [ [ "- type of item -", "" ], [ "Category", "CategoryItem" ], [ "Individual", "IndividualItem" ], [ "Property", "PropertyItem" ] ] end select_tag "item[sti_type]", options_for_select( selections, @item.sti_type.nil? ? "" : @item.sti_type ), :tabindex => "1" %> <%= image_tag "blank_error_icon.png", :id=>"sti_type_error_icon", :alt=>"", :size=>"16x16" %> </p><p class="directions"> <span id="sti_type_required">Selection of a type is required.</span> </p> <script type="text/javascript"> $('item_sti_type').focus(); </script>
Version data entries
4 entries across 4 versions & 1 rubygems