Skip to content

Commit

Permalink
Ch08: Create startup_form.html template.
Browse files Browse the repository at this point in the history
  • Loading branch information
jambonrose committed Jul 30, 2015
1 parent ec18b33 commit 4217570
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions organizer/templates/organizer/startup_form.html
@@ -0,0 +1,20 @@
{% extends parent_template|default:"organizer/base_organizer.html" %}

{% block title %}
{{ block.super }} - Create Startup
{% endblock %}

{% block content %}
<div>
<div>
<form
action="{% url 'organizer_startup_create' %}"
method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">
Create Startup</button>
</form>
</div>
</div>
{% endblock %}

0 comments on commit 4217570

Please sign in to comment.