Skip to content
Snippets Groups Projects

Master

4 files
+ 44
24
Compare changes
  • Side-by-side
  • Inline

Files

+ 14
12
@@ -11,18 +11,20 @@
<body>
<h2>Add Project</h2>
<form method="POST" action="{{ url_for('add_project') }}">
{{ form.csrf_token }}
<div class="form-group">
{{ form.title.label }}
{{ form.title(class="form-control", placeholder="Enter project title") }}
</div>
<div class="form-group">
{{ form.description.label }}
{{ form.description(class="form-control", placeholder="Enter project description") }}
</div>
<div class="form-group">
{{ form.submit(class="btn btn-primary") }}
</div>
{% if form %}
{{ form.csrf_token }}
<div class="form-group">
{{ form.title.label }}
{{ form.title(class="form-control", placeholder="Enter project title") }}
</div>
<div class="form-group">
{{ form.description.label }}
{{ form.description(class="form-control", placeholder="Enter project description") }}
</div>
<div class="form-group">
{{ form.submit(class="btn btn-primary") }}
</div>
{% endif %}
</form>
</body>
</html>
Loading