Sha256: f19be80327936bd9d447595c3a7abec1cad1573260d5dfefe02d5b2a402b85de

Contents?: true

Size: 1.49 KB

Versions: 25

Compression:

Stored size: 1.49 KB

Contents

<div class="row">

  <div class="col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
        <h3 class="panel-title">&nbsp;</h3>
        <div class="actions pull-right">
          <i class="fa fa-chevron-down"></i>
        </div>
      </div>
      <div class="panel-body">
        <%= render :partial => 'form', :locals => { edit: true, type: @type } %>
      </div>
    </div>
  </div>

</div>

<% if @category.posts.size > 0 %>
  <div class="row">

    <div class="col-md-12">
      <div class="panel panel-default">
        <div class="panel-heading">
          <h3 class="panel-title">Articles in <%= @type.capitalize %></h3>
        </div>
        <div class="panel-body no-padding">
          <ul class="list-group">
            <% @category.posts.each do |f| %>
              <li class="list-group-item">
                <%= link_to edit_admin_article_path(f) do %>
                  <%= f.post_title %>
                <% end %>
                <div class="btn-group pull-right">
                  <%= link_to edit_admin_article_path(f), :class => 'btn btn-xs btn-default' do %>
                    <i class="fa fa-pencil"></i>
                  <% end %>        
                  <%= link_to page_path(f), :class => 'btn btn-xs btn-default', :target => "_blank" do %>
                    <i class="fa fa-search"></i>
                  <% end %> 
                </div> 
              </li>
            <% end %>
           </ul>
        </div>
      </div>
    </div>

  </div>
<% end %>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
roroacms-1.0.0 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.6.7 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.6.6 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.6.5 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.6.4 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.6.3 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.6.2 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.6.1 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.6 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.5 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.4 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.3 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.2 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8.1 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.8 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.7.10 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.7.8 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.7.7 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.7.6 app/views/roroacms/admin/terms/edit.html.erb
roroacms-0.0.7.5 app/views/roroacms/admin/terms/edit.html.erb