You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
869 B
27 lines
869 B
{% extends 'layout.html' %}
|
|
|
|
{% block content %}
|
|
<div class="container">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title"> 编辑用户 </h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<form method="post" novalidate>
|
|
{% csrf_token %}
|
|
|
|
{% for field in form %}
|
|
<div class="form-group">
|
|
<label>{{ field.label }}</label>
|
|
{{ field }}
|
|
<span style="color: red;">{{ field.errors.0 }}</span>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<button type="submit" class="btn btn-primary">提 交</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|