Sha256: 548ca133f5cb5d19e17dc8ea1bf6f1c71173f9bb62beb8946f319ed3ebd6685f

Contents?: true

Size: 787 Bytes

Versions: 6

Compression:

Stored size: 787 Bytes

Contents

<h3>Book</h3>

<div class="btn-group">
  <%= link_to edit_book_path(@book), class: "btn btn-primary btn-sm" do %>
    <i class="glyphicon glyphicon-edit"></i>
    <span>Edit Book</span>
  <% end %>
  <%= link_to book_path(@book), class: "btn btn-danger btn-sm", method: :delete do %>
    <i class="glyphicon glyphicon-trash"></i>
    <span>Delete Book</span>
  <% end %>
</div>

<div class="media">
  <div class="media-body">
    <h4><%= @book.title %></h4>
    <h5>By
      <%= link_to author_books_path(@book.author) do %>
        <%= @book.author.name || "unknown" %></h5>
      <% end %>
    <p><%= @book.description %></p>
    <p> created at :
    <%= @book.created_at %></p>
    <p> updated at :
    <%= @book.updated_at %></p>
    <p> id :
    <%= @book.id %></p>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

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