Person CRUD working

This commit is contained in:
tomtom5152
2014-10-31 01:12:59 +00:00
parent f4e23e6e5b
commit 74bc6826ea
6 changed files with 52 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{% extends request.is_ajax|yesno:'base_ajax.html,base.html' %}
{% load widget_tweaks %}
{% block title %}Add Person{% endblock %}
{% block title %}{% if object.pk %}Edit {{ object.name }}{% else %}Add Person{% endif %}{% endblock %}
{% block content %}
<div class="col-sm-offset-1 col-sm-10">