<commit_before><link href="bootstrap-switch.min.css" rel="stylesheet">
<script src="bootstrap-switch.min.js"></script>

<% @firstname = User.where(id: current_user.id).first.username.split('.',2).first.capitalize %>
<% @lastname = User.where(id: current_user.id).first.username.split('.',2).last.capitalize %>

<%= form_tag ( { :action => "update_profile", :controller => "profile"}) do %>
    <% if auser.firstlogin %>
        <h1><%= @firstname + " " + @lastname %></h1>
        <p>Bitte füllen sie die folgenden Felder aus, wenn sie Angaben tätigen wollen. Alle Angaben sind optional. <br>Please fill in the following information if you want to, all information is optional.</p>
        <% auser.firstlogin = false %>
        <% auser.save %>
        <p><%= link_to 'skip', "/", class: "btn btn-primary" %></p>
    <% else %>
        <% @fullname = User.where(id: current_user.id).first.fullname %>
        <% if @fullname != '' %>
            <h1><%= @fullname %></h1><commit_msg>Remove skip button<commit_after><link href="bootstrap-switch.min.css" rel="stylesheet">
<script src="bootstrap-switch.min.js"></script>

<% @firstname = User.where(id: current_user.id).first.username.split('.',2).first.capitalize %>
<% @lastname = User.where(id: current_user.id).first.username.split('.',2).last.capitalize %>

<%= form_tag ( { :action => "update_profile", :controller => "profile"}) do %>
    <% if auser.firstlogin %>
        <h1><%= @firstname + " " + @lastname %></h1>
        <p>Bitte füllen sie die folgenden Felder aus, wenn sie Angaben tätigen wollen. Alle Angaben sind optional. <br>Please fill in the following information if you want to, all information is optional.</p>
        <% auser.firstlogin = false %>
        <% auser.save %>
    <% else %>
        <% @fullname = User.where(id: current_user.id).first.fullname %>
        <% if @fullname != '' %>
            <h1><%= @fullname %></h1>
{'fraction_non_alphanumeric': 0.18950131233595802, 'fraction_numerical': 0.006299212598425197, 'mean_word_length': 3.4741784037558685, 'pattern_counts': {'":': 0, '<': 48, '<?xml version=': 0, '>': 52, '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': '2549395', 'n_tokens_mistral': 651, 'n_tokens_neox': 613, 'n_words': 138}