Sha256: 3eb991f710328ebd76ef293876a58876b85b3aaf3f82a3ee923f4019fdf0e475

Contents?: true

Size: 672 Bytes

Versions: 31

Compression:

Stored size: 672 Bytes

Contents

<div id="tag_list">
  <%- if manifestation.tags -%>
    <%- manifestation.tags.each do |tag| -%>
      <%= link_to_tag(tag) -%>
      <%- if can? :destroy, 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

31 entries across 31 versions & 1 rubygems

Version Path
enju_bookmark-0.0.13 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.12 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.11 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.10 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.9 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.8 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.7 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.6 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.5 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.4 app/views/manifestations/_tag_list.html.erb
enju_bookmark-0.0.3 app/views/manifestations/_tag_list.html.erb