Sha256: 9c3c796a077a52324069cba4d78402c3363aea30e0028a2a11c5c49c3050360a

Contents?: true

Size: 1.39 KB

Versions: 4

Compression:

Stored size: 1.39 KB

Contents

<%
# WontoMedia - a wontology web application
# Copyright (C) 2011 - 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/".
%>


<% form_for( con, :url => connections_path+"?goto=#{@item.name}" ) do |f|
     @connection = con  # yes, fibbing to Rails, so shoot me....
     %>
     <%= hidden_field :connection, :subject_id %>
     <%= hidden_field :connection, :predicate_id %>
     <%= hidden_field :connection, :kind_of_obj %>
     <%= text_field :connection, :scalar_obj, :size => 40 %>
     <%= f.submit "Add", :style => 'width: 3em;' %>
     <% unless @add_scalar_help_icon_used %>
       <%= popup_help_icon "Help for scalar-value add",
             "Help:Popup/InlineAddScalar" %>
     <% end
        @add_scalar_help_icon_used = true
      %>
     <%= h filter_parenthetical con.type_item.title %>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wontomedia-1.0.7 app/views/items/_inline_scalar_add_form.html.erb
wontomedia-1.0.6 app/views/items/_inline_scalar_add_form.html.erb
wontomedia-1.0.5 app/views/items/_inline_scalar_add_form.html.erb
wontomedia-1.0.4 app/views/items/_inline_scalar_add_form.html.erb