<commit_before>{% extends "base.html" %}
{% load crispy from crispy_forms_tags %}
{% load model_name from cobweb_look %}
{% load render_table from django_tables2 %}

{% block window_title %}Cobweb: {{nomination}}{% endblock %}

{% block content %}
    <div class="row"><div class="col mt-1 mb-3">
        <h2>PROJECT: {{nomination.project}}</h2>
        <h3>NOMINATION: {{nomination}}</h3>
    </div></div>

    <div class="row">
        <div class="col-6"><div class="pane">{% crispy form %}</div></div>
        
        <div class="col-6">
            <div class="pane">
                <form method="post">
                    {% crispy formset %}
                    {% comment %} {{ formset.management_form }}
                    <table>
                        {% for formset_form in formset %}
                        {% include 'projects/claim_form.html' with claim=formset_form %}
                        {% endfor %}
                    </table> {% endcomment %}
                </form>
            </div>
        </div>
    </div>
{% endblock %}
<commit_msg>feat: link to resource from nomination view<commit_after>{% extends "base.html" %}
{% load crispy from crispy_forms_tags %}
{% load model_name as_link from cobweb_look %}
{% load render_table from django_tables2 %}

{% block window_title %}Cobweb: {{nomination}}{% endblock %}

{% block content %}
    <div class="row"><div class="col mt-1 mb-3">
        <h2>PROJECT: {{nomination.project}}</h2>
        <h3>NOMINATION: {{nomination.resource|as_link}}</h3>
    </div></div>

    <div class="row">
        <div class="col-6"><div class="pane">{% crispy form %}</div></div>
        
        <div class="col-6">
            <div class="pane">
                <form method="post">
                    {% crispy formset %}
                    {% comment %} {{ formset.management_form }}
                    <table>
                        {% for formset_form in formset %}
                        {% include 'projects/claim_form.html' with claim=formset_form %}
                        {% endfor %}
                    </table> {% endcomment %}
                </form>
            </div>
        </div>
    </div>
{% endblock %}

{'fraction_non_alphanumeric': 0.16096671226630188, 'fraction_numerical': 0.008207934336525308, 'mean_word_length': 1.7807351077313054, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '1061714', 'n_tokens_mistral': 702, 'n_tokens_neox': 624, 'n_words': 141}