Sha256: cea330e04173a0e8eb986d5709c0f9ee073a8fc33ea16692cb3d06236e309ab4

Contents?: true

Size: 1.21 KB

Versions: 5

Compression:

Stored size: 1.21 KB

Contents

<div class="body">
  <table class="fields">
    <tr>
      <th><%= sectionable_form.label_with_text :title %></th>
      <td><%= sectionable_form.text_field :title, :class => "full" %></td>
    </tr>
  </table>
</div>
<dl class="body">
  <dt>
    <%= sectionable_form.t :links %>
    <%= sectionable_form.fieldset_errors :links %>
  </dt>
  <dd>
    <ul id="section-<%= guid %>-links" class="links files">
      <% sectionable_form.object.links.each do |link| %>
        <%= render :partial => "/skyline/link_section_links/form", :locals => {:sectionable_form => sectionable_form, :link => link, :guid => guid, :link_guid => Guid.new} %>  
      <% end %>
    </ul>
  </dd>
</dl>
<script type="text/javascript" charset="utf-8">
  var linkSectionLinksSortable<%= guid.to_s.gsub("-","") %> = new Skyline.Sortable("section-<%= guid %>-links",{
    handle: "span.dragLink", 
    clone: true, 
    revert: true,
    offsetParent : $('contentEditPanel')
  });
</script>

<div class="submit body">
  <%= link_to_remote( button_text(:add_link), {:url => new_skyline_link_section_link_path(:object_name => sectionable_form.object_name_with_index, :guid => guid), :method => :get}, :class => "button small") %>
</div>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
skylinecms-3.1.0 app/views/skyline/sections/_link_section.html.erb
westarete-skylinecms-3.0.8.20100329 app/views/skyline/sections/_link_section.html.erb
westarete-skylinecms-3.0.8.20100330 app/views/skyline/sections/_link_section.html.erb
skylinecms-3.0.8 app/views/skyline/sections/_link_section.html.erb
skylinecms-3.0.7 app/views/skyline/sections/_link_section.html.erb