mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
29 lines
1011 B
HTML
29 lines
1011 B
HTML
{% extends 'base_rigs.html' %}
|
|
{% load widget_tweaks %}
|
|
{% block title %}Registration{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="col-sm-10 col-sm-offset-1">
|
|
<h3>New User Registration</h3>
|
|
{% if form.errors or supplement_form.errors %}
|
|
<div class="alert alert-danger">
|
|
{{form.errors}}
|
|
{{supplement_form.errors}}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="col-sm-8 col-sm-offset-2">
|
|
<form action="" method="post" class="" role="form">{% csrf_token %}
|
|
{% for field in form %}
|
|
<div class="form-group">
|
|
<label for="{{ field.id_for_label }}" class="col-form-label col-sm-4">{{ field.label }}</label>
|
|
<div class="controls col-sm-8">
|
|
{% render_field field class+="form-control" placeholder=field.label %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
<p><input type="submit" value="Register" class="btn btn-primary pull-right"></p>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %} |