Sha256: 3761f14e16a56c725dd3bcc4e6cf7b599a0b9676fce9ad5da1fc19a759d2afc7
Contents?: true
Size: 671 Bytes
Versions: 6
Compression:
Stored size: 671 Bytes
Contents
<div id="tag_list"> <%- if manifestation.tags -%> <%- manifestation.tags.each do |tag| -%> <%= link_to_tag(tag) -%> <%- if can? :delete, tag -%> <%= link_to image_tag('icons/tag_blue_edit.png', :alt => t('page.edit')), tag_path(tag.name) -%> <%- end -%> <%- end -%> <%- end -%> <%- if user_signed_in? -%> (<a href="#" onclick="$.ajax({data:'authenticity_token=' + encodeURIComponent('<%= form_authenticity_token %>'), success:function(request){$('#tag_list').html(request);}, type:'get', url:'<%= edit_manifestation_path(manifestation, :mode => 'tag_edit') %>'}); return false;"><%= t('page.edit') %></a>) <%- end -%> </div>
Version data entries
6 entries across 6 versions & 1 rubygems