Sha256: d69afd84b8663b23a116ad71a9bdc1b85a236fc7e366fac61e3715b073411549

Contents?: true

Size: 967 Bytes

Versions: 25

Compression:

Stored size: 967 Bytes

Contents

<aside class="page-sidebar author-sidebar">
  <header class="page-sidebar--header">
    <div class="header-container--left">
      <h5 class="header--title">Authors</h5>
    </div>
    <div class="header-container--right">
      <ul class="header-container--right__actions">
        <!-- <li><i class="search-icon">Search</i></li> -->
        <li><%= link_to 'New Author', fuel.new_admin_author_path, class: 'add-icon' %></li>
      </ul>
    </div>
  </header>
  <ul class="resource-list author-list">
    <% @authors.each do |author| %>
      <%= link_to fuel.edit_admin_author_path(author) do %>
        <li class="resource-item author-item <%= 'active' if @author && @author == author %>">
          <%= image_tag author.avatar.url, class: 'author-avatar' %>
          <p class="author-item--title"><%= author.title.html_safe %></p>
          <h5 class="author-item--name"><%= author.full_name %></h5>
        </li>
      <% end %>
    <% end %>
  </ul>
</aside>

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
fuel-0.3.24 app/views/fuel/admin/authors/_authors.html.erb
fuel-0.3.23 app/views/fuel/admin/authors/_authors.html.erb
fuel-0.3.22 app/views/fuel/admin/authors/_authors.html.erb
fuel-0.3.21 app/views/fuel/admin/authors/_authors.html.erb
fuel-0.3.20 app/views/fuel/admin/authors/_authors.html.erb