Sha256: 48b417cb97087c69b02388ee1e02ddee3e4ff94190972c005bc7b6cced0c3bd8
Contents?: true
Size: 887 Bytes
Versions: 16
Compression:
Stored size: 887 Bytes
Contents
<% can_change_tags = can?(:add, Kaui::Tag) || can?(:delete, Kaui::Tag) %> <%= form_tag update_tags_path do %> <% params.each_key do |key| %> <%= hidden_field_tag key, params[key] %> <% end %> <% available_tags.each do |tag| %> <%= check_box_tag "tag_#{tag.id}", tag.name, tag_names.include?(tag.name), :disabled => !can_change_tags, :readonly => !can_change_tags %> <label class='tag-description' rel='tooltip' title='<%= tag.description %>'><%= tag.name %></label> <% end %> <% if can_change_tags %> <%= label_tag :comment, 'Comment', :class => 'col-sm-2 control-label' %> <%= text_area_tag :comment, nil, :rows => 3, :class => 'form-control' %> <%= submit_tag 'Update', :class => 'btn btn-default' %> <% end %> <% end %> <%= javascript_tag do %> $(function() { $(".tag-description").tooltip(); }); <% end %>
Version data entries
16 entries across 16 versions & 1 rubygems