Sha256: 77844c88a186f9a71453210377399145a51a78d90a6eb93d2148a90d55443a21

Contents?: true

Size: 1.23 KB

Versions: 1

Compression:

Stored size: 1.23 KB

Contents

<%= render 'section_header' %>

<table class='table table-striped'>
	<thead>
  <tr>
			<th><%= t('activerecord.models.illustration') %></th>
	    <th><%= t('name_and_paths') %></th>
	    <th><%= t('actions') %></th>
	  </tr>
	</thead>

	<tbody>
		<% @illustrations.each do |illustration| %>
		  <tr>
		    <td><%= link_to image_tag(illustration.image.thumbnail), illustration %></td>
		    <td>
					<h3><%= illustration.name %> | <%= link_to(t('see_all_resolutions'), illustration) %></h3>
					<b>Thumbnail</b> path: <%= illustration.image.thumbnail %><br />
					<b>Small</b> path: <%= illustration.image.small %><br />
					<b>Medium</b> path: <%= illustration.image.medium %><br />
					<b>Large</b> path: <%= illustration.image.large %><br />
					<b>XL</b> path: <%= illustration.image.xl %>
				</td>
		    <td><%= link_to t('edit'), edit_illustration_path(illustration), class: 'btn btn-xs btn-default' %>
					<%= link_to t('delete'), illustration, method: :delete, data: { confirm: t('are_you_sure') }, class: 'btn btn-xs btn-danger' %></td>
		  </tr>
		<% end %>
	</tbody>
</table>

<%= will_paginate @illustrations %>

<%= link_to t('illustrations.create.new'), new_illustration_path, class: 'btn btn-primary' %>

<%= render 'shared/admin_sidebar' %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tkh_illustrations-0.9.2 app/views/illustrations/index.html.erb