OSDN Git Service

fix: bin tool
[pettanr/pettanr.git] / app / views / original_pictures / _publish.html.erb
1 <div>
2   <% if item.resource_picture %>
3     <%= link_to t('original_pictures.index.stop'), item.resource_picture, confirm: 'Are you sure?', method: :delete %>
4   <% else %>
5   <% end %>
6   <%= link_to tag(:img, :src => asset_path('edit.png'), :width => 32, :height => 32), edit_original_picture_path(item) %>
7   <%= link_to tag(:img, :src => asset_path('remove.png'), :width => 32, :height => 32), item, confirm: 'Are you sure?', :method => :delete %>
8 </div>