app/helpers/labels_helper.rb
# !! Note that `label_tag` is a Rails reserved word, so we have to append and make exceptions
Note that `label_tag` is a Rails reserved word, so we have to append and make exceptions
Note that ` label_tag ` is a Rails reserved word so we have to append and make exceptions
def label_link(label)
    return nil if label.nil?
    if label.label_object_id.blank?
      taxonworks_label_tag(label)
    else
      link_to(content_tag(:span, label.text), print_labels_task_path(label_id: label.to_param))
    end
  end
def label_link ( label ) return nil if label . nil? if label . label_object_id . blank? taxonworks_label_tag ( label ) else link_to ( content_tag ( :span , label . text ) , print_labels_task_path ( label_id : label . to_param ) ) end end
Note that `label_tag` is a Rails reserved word, so we have to append and make exceptions
Note that ` label_tag ` is a Rails reserved word so we have to append and make exceptions
label
<not_specific>