<commit_before><div class="content">
  <p><%= t :crossposter_explanation %></p>
  <p><%= t :login_to_get_started %></p>

  <div class="columns">
    <div class="column is-3 is-offset-3 has-text-centered">
      <% if twitter? %>
      <button class="button is-twitter is-large">
        <span class="icon is-small"><i class="fa fa-twitter" aria-hidden="true"></i></span>
        <span><%= t :twitter_logged_in %></span>
        <span class="icon is-small"><i class="fa fa-check" aria-hidden="true"></i></span>
      </button>
      <% else %>
      <%= link_to(user_twitter_omniauth_authorize_path, class: 'button is-large') do %>
      <span class="icon is-small"><i class="fa fa-twitter" aria-hidden="true"></i></span>
      <span>Twitter</span>
      <% end %>
      <% end %>
    </div>
    <div class="column is-3 has-text-centered">
      <% if mastodon? %>
      <button class="button is-mastodon is-large">
        <span class="icon is-small"><i class="fa fa-mastodon" aria-hidden="true"></i></span>
        <span><%= t :mastodon_logged_in %></span>
        <span class="icon is-small"><i class="fa fa-check" aria-hidden="true"></i></span>
      </button>
      <% else %>
      <%= link_to(mastodon_identifier_user_path, class: 'button is-large') do %>
      <span class="icon is-small"><i class="fa fa-mastodon" aria-hidden="true"></i></span>
      <span>Mastodon</span>
      <% end %>
      <% end %>
    </div>
  </div>
  <% if twitter? or mastodon? %>
  <hr / >
  <%= render 'sync_status' %>
  <% end %>
</div>
<commit_msg>Fix twitter login button<commit_after><div class="content">
  <p><%= t :crossposter_explanation %></p>
  <p><%= t :login_to_get_started %></p>

  <div class="columns">
    <div class="column is-3 is-offset-3 has-text-centered">
      <% if twitter? %>
      <button class="button is-twitter is-large">
        <span class="icon is-small"><i class="fa fa-twitter" aria-hidden="true"></i></span>
        <span><%= t :twitter_logged_in %></span>
        <span class="icon is-small"><i class="fa fa-check" aria-hidden="true"></i></span>
      </button>
      <% else %>
      <%= link_to(user_twitter_omniauth_authorize_path, method: :post, class: 'button is-large') do %>
      <span class="icon is-small"><i class="fa fa-twitter" aria-hidden="true"></i></span>
      <span>Twitter</span>
      <% end %>
      <% end %>
    </div>
    <div class="column is-3 has-text-centered">
      <% if mastodon? %>
      <button class="button is-mastodon is-large">
        <span class="icon is-small"><i class="fa fa-mastodon" aria-hidden="true"></i></span>
        <span><%= t :mastodon_logged_in %></span>
        <span class="icon is-small"><i class="fa fa-check" aria-hidden="true"></i></span>
      </button>
      <% else %>
      <%= link_to(mastodon_identifier_user_path, class: 'button is-large') do %>
      <span class="icon is-small"><i class="fa fa-mastodon" aria-hidden="true"></i></span>
      <span>Mastodon</span>
      <% end %>
      <% end %>
    </div>
  </div>
  <% if twitter? or mastodon? %>
  <hr / >
  <%= render 'sync_status' %>
  <% end %>
</div>

{'fraction_non_alphanumeric': 0.21193548387096775, 'fraction_numerical': 0.001935483870967742, 'mean_word_length': 3.016839378238342, 'pattern_counts': {'":': 0, '<': 135, '<?xml version=': 0, '>': 135, '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': '6411674', 'n_tokens_mistral': 1158, 'n_tokens_neox': 1062, 'n_words': 223}