bornhack-website/src/profiles/templates/profile_form.html

23 lines
624 B
HTML
Raw Normal View History

2017-04-13 15:44:46 +00:00
{% extends 'profile_base.html' %}
{% load bootstrap3 %}
{% block title %}
Update profile | {{ block.super }}
{% endblock %}
2017-04-13 15:44:46 +00:00
{% 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>
2017-04-13 15:44:46 +00:00
{% endblock profile_content %}