<commit_before>- content_for :page_title do
  = "##{@tag.name}"

.dashboard__counters
  %div
    = link_to web_url("timelines/tag/#{@tag.name}") do
      .dashboard__counters__num= number_with_delimiter @accounts_today
      .dashboard__counters__label= t 'admin.tags.accounts_today'
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @accounts_week
      .dashboard__counters__label= t 'admin.tags.accounts_week'
  %div
    = link_to explore_hashtag_path(@tag) do
      .dashboard__counters__num= number_with_delimiter @tag.accounts_count
      .dashboard__counters__label= t 'admin.tags.directory'

%hr.spacer/

= simple_form_for @tag, url: admin_tag_path(@tag.id) do |f|
  = render 'shared/error_messages', object: @tag

  .fields-group
    = f.input :name, wrapper: :with_block_label

  .fields-group
    = f.input :usable, as: :boolean, wrapper: :with_label
    = f.input :trendable, as: :boolean, wrapper: :with_label, disabled: !Setting.trends
    = f.input :listable, as: :boolean, wrapper: :with_label, disabled: !Setting.profile_directory

  .actions
    = f.button :button, t('generic.save_changes'), type: :submit<commit_msg>Change the hashtag link from WebUI to public page (#11845)<commit_after>- content_for :page_title do
  = "##{@tag.name}"

.dashboard__counters
  %div
    = link_to tag_url(@tag), target: '_blank', rel: 'noopener' do
      .dashboard__counters__num= number_with_delimiter @accounts_today
      .dashboard__counters__label= t 'admin.tags.accounts_today'
  %div
    %div
      .dashboard__counters__num= number_with_delimiter @accounts_week
      .dashboard__counters__label= t 'admin.tags.accounts_week'
  %div
    = link_to explore_hashtag_path(@tag) do
      .dashboard__counters__num= number_with_delimiter @tag.accounts_count
      .dashboard__counters__label= t 'admin.tags.directory'

%hr.spacer/

= simple_form_for @tag, url: admin_tag_path(@tag.id) do |f|
  = render 'shared/error_messages', object: @tag

  .fields-group
    = f.input :name, wrapper: :with_block_label

  .fields-group
    = f.input :usable, as: :boolean, wrapper: :with_label
    = f.input :trendable, as: :boolean, wrapper: :with_label, disabled: !Setting.trends
    = f.input :listable, as: :boolean, wrapper: :with_label, disabled: !Setting.profile_directory

  .actions
    = f.button :button, t('generic.save_changes'), type: :submit
{'fraction_non_alphanumeric': 0.12025316455696203, 'fraction_numerical': 0.002109704641350211, 'mean_word_length': 4.400911161731207, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2537347', 'n_tokens_mistral': 835, 'n_tokens_neox': 826, 'n_words': 170}