Sha256: 5152b5a7ef6a49a1cdaf1a330875f6786be1dc6e3a334200c03aa8f29ff12131

Contents?: true

Size: 1.15 KB

Versions: 11

Compression:

Stored size: 1.15 KB

Contents

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

<%= form_for(:patron_merge_list, :url => patron_merge_list_path(@patron_merge_list, :mode => 'merge'), :html => { :method => :put }) do |f| -%>
  <p>
  <strong><%= t('page.title') -%>:</strong>
    <%= @patron_merge_list.title -%>
  </p>

  <ul>
    <%- @patron_merge_list.patrons.each do |patron| -%>
      <li><%= radio_button_tag 'selected_patron_id', patron.id -%><%= link_to patron.full_name, patron -%></li>
    <%- end -%>
  </ul>
  <%- if @patron_merge_list.patrons.size > 1 -%>
    <%= f.submit t('page.merge'), :data => {:confirm => t('page.are_you_sure')} -%>
  <%- end -%>
<%- end -%>

</div>
</div>

<div id="submenu" class="ui-corner-all">
  <ul>
    <li><%= link_to t('page.listing', :model => t('activerecord.models.patron')), patron_merge_list_patrons_path(@patron_merge_list) -%></li>
    <li><%= link_to t('page.edit'), edit_patron_merge_list_path(@patron_merge_list) -%></li>
    <li><%= back_to_index(flash[:page_info]) -%></li>
  </ul>
</div>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
enju_resource_merge-0.1.0.pre7 app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.1.0.pre6 app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.1.0.pre5 app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.1.0.pre4 app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.1.0.pre3 app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.1.0.pre2 app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.1.0.pre app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.0.17 app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.0.16 app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.0.15 app/views/patron_merge_lists/show.html.erb
enju_resource_merge-0.0.14 app/views/patron_merge_lists/show.html.erb