summaryrefslogtreecommitdiff
path: root/templates/project_fields.html
diff options
context:
space:
mode:
authorromangraef <roman.graef@gmail.com>2018-06-01 11:07:02 +0200
committerromangraef <roman.graef@gmail.com>2018-06-01 11:07:23 +0200
commita4717724853ce92888c8aa6c082a25428e00720b (patch)
tree3697459def6ec3e330bac2b5321908bd372c2daa /templates/project_fields.html
parent22480d21a0d647d7f1d86a5efb25368225fcb7dd (diff)
downloadmy-website-a4717724853ce92888c8aa6c082a25428e00720b.tar.gz
my-website-a4717724853ce92888c8aa6c082a25428e00720b.tar.bz2
my-website-a4717724853ce92888c8aa6c082a25428e00720b.zip
added editing abilities
Diffstat (limited to 'templates/project_fields.html')
-rw-r--r--templates/project_fields.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/templates/project_fields.html b/templates/project_fields.html
new file mode 100644
index 0000000..50472c1
--- /dev/null
+++ b/templates/project_fields.html
@@ -0,0 +1,22 @@
+{% set project = empty_project %}
+<p>
+ <label for="id">Id</label><input name="id" id="id" value="{{ project.id }}"
+ {% if id_disabled %}
+ disabled="disabled"
+ {% endif %}
+>
+</p>
+<p>
+ <label for="name">Name</label><input id="name" name="name" value="{{ project.name }}">
+</p>
+<p>
+ <label for="summary">Summary</label><input id="summary" name="summary" value="{{ project.summary }}">
+</p>
+<p>
+ Description:<br>
+ <textarea name="description" form="form" style="width: 100%; height: 400px;" title="description"
+ id="description">{{ project.description }}</textarea>
+</p>
+<p>
+ <label for="link">Link</label><input name="link" id="link" value="{{ project.link }}">
+</p>