<commit_before>{% extends 'base2.html' %}
{% load staticfiles %}
{% load bootstrap %}

{% block content %}


            <div class="profile-content">
                <div class="jumbotron">
                    <div class="jumbotron-title">
                        <h1 style="text-align: center">{{nomi.name}}</h1>
                    </div>
                    <div class="jumbotron-club">
                        <h4 style="font-size: 50px; text-align: center">{{nomi.nomi_post.club}}</h4>
                    </div>
                </div>

                    <div class="well well-lg">
                        <h1 style="text-align: center">Description</h1>
                        <div class="row">
                            <div class="col-lg-6">
                                <p style="font-size: medium;"><span style="font-weight: bolder;">Nomination Deadline:
                                </span> {{ nomi.closing_date }}</p>
                            </div>
                            <div class="col-lg-6">
                                <p style="font-size: medium; text-align: right"><span style="font-weight: bolder;">Preference: </span>
                                    {{ nomi.year_choice }} {{ nomi.dept_choice }}</p>
                            </div>
                        </div>
                        <p style="border-top: 1px solid #000000; height: 1px;"><br></p>
                        <p style="text-align: justify">{{nomi.description}}</p>
                    </div>

                     <div class="container-fluid">

                         {% if status.0 %}
                        <div class="row">
                            {% if power_to_send %}

                            <div class="col-lg-4 text-center">
                                <a href="{% url 'final_nomi_approval' nomi_pk=nomi.pk %}"
                                   style="width: auto" class="btn btn-success">Approve And Send To User</a>
                            </div>

                            <div class="col-lg-4 text-center">
                                <a href="{% url 'forms:creator_form' nomi.nomi_form.pk %}"
                                   class="btn btn-warning">Edit Nomination</a>
                            </div>

                            <div class="col-lg-4 text-center">
                                <a href="{% url 'admin_portal' %}" class="btn btn-info">Go Back</a>
                            </div>

                            {% else %}
                                {% if sent_to_parent %}
                                    <div class="col-lg-6 text-center">
                                        <div class=" btn btn-success disabled" style="width: auto"><commit_msg>allowed line break in description<commit_after>{% extends 'base2.html' %}
{% load staticfiles %}
{% load bootstrap %}

{% block content %}


            <div class="profile-content">
                <div class="jumbotron">
                    <div class="jumbotron-title">
                        <h1 style="text-align: center">{{nomi.name}}</h1>
                    </div>
                    <div class="jumbotron-club">
                        <h4 style="font-size: 50px; text-align: center">{{nomi.nomi_post.club}}</h4>
                    </div>
                </div>

                    <div class="well well-lg">
                        <h1 style="text-align: center">Description</h1>
                        <div class="row">
                            <div class="col-lg-6">
                                <p style="font-size: medium;"><span style="font-weight: bolder;">Nomination Deadline:
                                </span> {{ nomi.closing_date }}</p>
                            </div>
                            <div class="col-lg-6">
                                <p style="font-size: medium; text-align: right"><span style="font-weight: bolder;">Preference: </span>
                                    {{ nomi.year_choice }} {{ nomi.dept_choice }}</p>
                            </div>
                        </div>
                        <p style="border-top: 1px solid #000000; height: 1px;"><br></p>
                        <p style="text-align: justify">{{nomi.description|linebreaks}}</p>
                    </div>

                     <div class="container-fluid">

                         {% if status.0 %}
                        <div class="row">
                            {% if power_to_send %}

                            <div class="col-lg-4 text-center">
                                <a href="{% url 'final_nomi_approval' nomi_pk=nomi.pk %}"
                                   style="width: auto" class="btn btn-success">Approve And Send To User</a>
                            </div>

                            <div class="col-lg-4 text-center">
                                <a href="{% url 'forms:creator_form' nomi.nomi_form.pk %}"
                                   class="btn btn-warning">Edit Nomination</a>
                            </div>

                            <div class="col-lg-4 text-center">
                                <a href="{% url 'admin_portal' %}" class="btn btn-info">Go Back</a>
                            </div>

                            {% else %}
                                {% if sent_to_parent %}
                                    <div class="col-lg-6 text-center">
                                        <div class=" btn btn-success disabled" style="width: auto">
{'fraction_non_alphanumeric': 0.13477235624886633, 'fraction_numerical': 0.008706693270451659, 'mean_word_length': 0.9942133815551537, 'pattern_counts': {'":': 0, '<': 103, '<?xml version=': 0, '>': 103, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 26, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7643663', 'n_tokens_mistral': 1488, 'n_tokens_neox': 1337, 'n_words': 273}