Sha256: c4b713b007ff2e85ae4b8f8b0fd8d9d1f04957eb53e3420a7d4ce7f0c74a8aaa

Contents?: true

Size: 1.12 KB

Versions: 9

Compression:

Stored size: 1.12 KB

Contents

<h1>Listing Illustrations</h1>

<table class='table table-striped'>
	<thead>
  <tr>	
			<th>Illustration</th>
	    <th>Name & Paths</th>
	    <th>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(' 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 'Edit', edit_illustration_path(illustration), class: 'btn btn-mini' %>
					<%= link_to 'Destroy', illustration, method: :delete, data: { confirm: 'Are you sure?' }, class: 'btn btn-mini btn-danger' %></td>
		  </tr>
		<% end %>
	</tbody>
</table>

<%= link_to 'Create New Illustration', new_illustration_path, class: 'btn btn-primary' %>

<%= render 'shared/admin_sidebar' %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tkh_illustrations-0.0.9 app/views/illustrations/index.html.erb
tkh_illustrations-0.0.8 app/views/illustrations/index.html.erb
tkh_illustrations-0.0.7 app/views/illustrations/index.html.erb
tkh_illustrations-0.0.6 app/views/illustrations/index.html.erb
tkh_illustrations-0.0.5 app/views/illustrations/index.html.erb
tkh_illustrations-0.0.4 app/views/illustrations/index.html.erb
tkh_illustrations-0.0.3 app/views/illustrations/index.html.erb
tkh_illustrations-0.0.2 app/views/illustrations/index.html.erb
tkh_illustrations-0.0.1 app/views/illustrations/index.html.erb