In most cases this mirrors the primary header on the page, but in some cases the title is simplified and/or nested to reflect the depth of the current page Co-authored-by: Thomas Steen Rasmussen <tykling@bornhack.org>
23 lines
624 B
HTML
23 lines
624 B
HTML
{% extends 'profile_base.html' %}
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}
|
|
Update profile | {{ block.super }}
|
|
{% endblock %}
|
|
|
|
{% block profile_content %}
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h4>Update Profile</h4>
|
|
</div>
|
|
<div class="panel-body">
|
|
<form method="POST">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
<button type="submit" class="btn btn-success"><i class="fas fa-save"></i> Submit</button>
|
|
<a href="{% url 'profiles:detail' %}" class="btn btn-danger"><i class="fas fa-times"></i> Cancel</a>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock profile_content %}
|