Sha256: 04f4dedec2c9b023fb8d2cbf471747d38d830b848ba634addedb5d8ad8ef7935

Contents?: true

Size: 786 Bytes

Versions: 5

Compression:

Stored size: 786 Bytes

Contents

<% if current_user.allow?(Skyline::PageFragment, :index) %>
  <dt id="leftFragmentHeaderPanel" class="<%= local_assigns[:active] ? "active" : "" %>">
  	<span class="content" style="position: relative; overflow: hidden">
  		<%= link_to_remote button_text(:plus), {:url => skyline_articles_path(:type => Skyline::PageFragment), :method => :post}, :class => "button small" %>
  		<%= Skyline::PageFragment.human_name(:count => 2) %>
  	</span>
  </dt>
  <dd  id="leftFragmentContentPanel" class="scrollable">
    <ul class="selectlist">
      <% Skyline::PageFragment.ordered_by_title.all.each do |pf| %>
        <li><%= link_to pf.default_variant_data.title, edit_skyline_article_path(pf), :class => (pf == @article ? "active" : nil) %></li>
      <% end %>
    </ul>
  </dd>
<% end %>

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
skylinecms-3.1.0 app/views/skyline/articles/page_fragment/_index.html.erb
westarete-skylinecms-3.0.8.20100329 app/views/skyline/articles/page_fragment/_index.html.erb
westarete-skylinecms-3.0.8.20100330 app/views/skyline/articles/page_fragment/_index.html.erb
skylinecms-3.0.8 app/views/skyline/articles/page_fragment/_index.html.erb
skylinecms-3.0.7 app/views/skyline/articles/page_fragment/_index.html.erb