Sha256: e4b1ebb39c1b86a9f4939efd8d9a4a5dbba7843a32e2f4021e613adc3dc439c0

Contents?: true

Size: 1.89 KB

Versions: 4

Compression:

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


<% content_for :head do %>
  <meta name="robots" content="noindex" />
  <meta name="googlebot" content="noindex" />
<% end %>

<%
  @title_text = 'Make a new connection'

  # initialize array to define "Glossary Help" box of links:
  @glossary_help_entries = [
    [ 'Item', 'Help:GlossaryAtoO#anchor_Item' ],
    [ 'Connection', 'Help:GlossaryAtoO#anchor_Connection' ]
  ]
 %>


<% form_for(@connection) do |f| %>
  <%= f.error_messages %>
  <%= render :partial => "spo_select_controls",
               :locals => {
                 :f => f, :connection => @connection,
                 :items => @items, :verbs => @verbs
               } %>
  <p><%= f.submit 'Create', :tabindex=>'40' %></p>
<% end %>

<div class="horizontal-link-list"><ul>
  <li><%= link_to 'Cancel,&nbsp;show&nbsp;connection&nbsp;list',
                  connections_path, :rel => 'nofollow' -%></li>
  <li><%= link_to 'Cancel,&nbsp;show&nbsp;item&nbsp;list', items_path,
                  :rel => 'nofollow' -%></li>
</ul></div>


<% content_for :first_bottom_page_js do %>
  <script type="text/javascript">
    inAConnectionsForm = true;
    creatingNewConnection = true;
    creatingNewItem = true;
  </script>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wontomedia-1.0.7 app/views/connections/new.html.erb
wontomedia-1.0.6 app/views/connections/new.html.erb
wontomedia-1.0.5 app/views/connections/new.html.erb
wontomedia-1.0.4 app/views/connections/new.html.erb