Sha256: 3585b98d37a7137d7af7aae8ac9d75d264acfa9718fa0cd38d8d9d0d8138dc10

Contents?: true

Size: 481 Bytes

Versions: 6

Compression:

Stored size: 481 Bytes

Contents

<h3>Authors</h3>

<%= link_to new_author_path, class: "btn btn-success btn-sm" do %>
  <i class="glyphicon glyphicon-plus"></i>
  <span>Add author</span>
<% end %>
<p>
<% @authors.each do |author| %>

  <div class="panel panel-default">
    <div class="panel-body">
      <%= link_to author_books_path(author) do %>
        <h3 class="panel-title"><%= author.name %></h3>
      <% end %>
    </div>
  </div>

<% end %>

<% if @authors.none? %>
  <p>No authors found.</p>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gdatastore_mapper-0.1.8 rails_example/app/views/authors/index.html.erb
gdatastore_mapper-0.1.7 rails_example/app/views/authors/index.html.erb
gdatastore_mapper-0.1.6 rails_example/app/views/authors/index.html.erb
gdatastore_mapper-0.1.5 rails_example/app/views/authors/index.html.erb
gdatastore_mapper-0.1.4 rails_example/app/views/authors/index.html.erb
gdatastore_mapper-0.1.3 rails_example/app/views/authors/index.html.erb