<commit_before>{% extends "pttrack/base.html" %}

{% load bootstrap3 %}

{% block title %}
Choose Clinical Role
{% endblock %}

{% block header %}
<h2>How are you volunteering?</h2>
<p class="lead">It looks to us like you wear a couple of different hats around here. What are you doing today?</p>
{% endblock %}

{% block content %}

<div class="container">
<div class="container text-center">
  <form action="" method="post" class="form-inline">
    {% csrf_token %}

    <div class="row">
    {% for role in roles %}
    <label class="radio-inline">
      <input type="radio" name="{{choice_key}}" value="{{role}}">
      {{ role }}
    </label>
    {% endfor %}
    </div>

    <div class="row">
    <br>
    {% buttons %}
    <button type="submit" class="btn btn-primary">
      Submit
    </button>
    {% endbuttons %}
    </div>

  </form>
</div>

</div>

{% endblock %}<commit_msg>require role selection before submit<commit_after>{% extends "pttrack/base.html" %}

{% load bootstrap3 %}

{% block title %}
Choose Clinical Role
{% endblock %}

{% block header %}
<h2>How are you volunteering?</h2>
<p class="lead">It looks to us like you wear a couple of different hats around here. What are you doing today?</p>
{% endblock %}

{% block content %}

<div class="container">
<div class="container text-center">
  <form action="" method="post" class="form-inline">
    {% csrf_token %}

    <div class="row">
    {% for role in roles %}
    <label class="radio-inline">
      <input type="radio" name="{{choice_key}}" value="{{role}}" required>
      {{ role }}
    </label>
    {% endfor %}
    </div>

    <div class="row">
    <br>
    {% buttons %}
    <button type="submit" class="btn btn-primary">
      Submit
    </button>
    {% endbuttons %}
    </div>

  </form>
</div>

</div>

{% endblock %}
{'fraction_non_alphanumeric': 0.1867403314917127, 'fraction_numerical': 0.0033149171270718232, 'mean_word_length': 3.2116279069767444, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '7380322', 'n_tokens_mistral': 645, 'n_tokens_neox': 578, 'n_words': 169}