Sha256: 64b4a84e24bb9beab30f58045feb464592c48e94da68f6ecfe6e1a3573e92c38

Contents?: true

Size: 1.06 KB

Versions: 19

Compression:

Stored size: 1.06 KB

Contents

<div id="content_detail" class="ui-corner-all">
<h1 class="title"><%= t('page.listing', :model => t('activerecord.models.create')) -%></h1>
<div id="content_list">

<table class="table table-striped index">
  <tr>
    <th><%= t('activerecord.models.patron') -%></th>
    <th><%= t('activerecord.models.work') -%></th>
    <th></th>
  </tr>

<%- @creates.each do |create| -%>
  <tr class="line<%= cycle("0", "1") -%>">
    <td><%= link_to create.patron.full_name, create.patron -%></td>
    <td><%= link_to create.work.original_title, create.work -%></td>
    <td>
      <%- if can? :delete, create -%>
        <%= link_to t('page.show'), create -%>
        <%= link_to t('page.destroy'), create, :data => {:confirm => t('page.are_you_sure')}, :method => :delete -%>
      <%- end -%>
    </td>
  </tr>
<%- end -%>
</table>

<%= paginate(@creates) -%>
</div>
</div>

<div id="submenu" class="ui-corner-all">
  <%- if can? :create, Create -%>
    <ul>
      <li><%= link_to t('page.new', :model => t('activerecord.models.create')), new_create_path -%></li>
    </ul>
  <%- end -%>
</div>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre42 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre41 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre40 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre39 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre38 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre37 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre36 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre35 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre34 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre33 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre32 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre31 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre30 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre29 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre28 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre27 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre26 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre25 app/views/creates/_index.html.erb
enju_biblio-0.1.0.pre24 app/views/creates/_index.html.erb