Sha256: 9e694b99882303fd9d84c9969f3020a87980c60463c913a33baaf43787b19c26

Contents?: true

Size: 1.39 KB

Versions: 5

Compression:

Stored size: 1.39 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/".
%>


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

5 entries across 5 versions & 1 rubygems

Version Path
wontomedia-1.0.2 app/views/items/_inline_scalar_add_form.html.erb
wontomedia-1.0.1 app/views/items/_inline_scalar_add_form.html.erb
wontomedia-1.0.0 app/views/items/_inline_scalar_add_form.html.erb
wontomedia-0.2.1 app/views/items/_inline_scalar_add_form.html.erb
wontomedia-0.2.0 app/views/items/_inline_scalar_add_form.html.erb