aboutsummaryrefslogtreecommitdiff
path: root/templates/macros.twig
diff options
context:
space:
mode:
authorLaria Carolin Chabowski <laria@laria.me>2020-06-05 22:21:09 +0200
committerLaria Carolin Chabowski <laria@laria.me>2020-06-05 22:21:09 +0200
commit3f82b4cc301d27f6a256a76c744bbbbeb4baa5cb (patch)
tree8db5176dd5daf4bdaf8abacd8b6e80247ac155aa /templates/macros.twig
parenta43b933df12f97c536a31d3d5a73ddda5f90ed94 (diff)
downloadmicropoly-3f82b4cc301d27f6a256a76c744bbbbeb4baa5cb.tar.gz
micropoly-3f82b4cc301d27f6a256a76c744bbbbeb4baa5cb.tar.bz2
micropoly-3f82b4cc301d27f6a256a76c744bbbbeb4baa5cb.zip
Add button to create note and go back to new note form
This improves the experience of quickly adding lots of notes
Diffstat (limited to 'templates/macros.twig')
-rw-r--r--templates/macros.twig1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/macros.twig b/templates/macros.twig
index 2c72334..2bc163a 100644
--- a/templates/macros.twig
+++ b/templates/macros.twig
@@ -74,6 +74,7 @@
<form action="{{ url("new-note") }}" method="post" enctype="multipart/form-data">
{{ _self.note_form_content({}) }}
<button type="submit">Create</button>
+ <button type="submit" name="create_and_new" value="1">Create & New</button>
</form>
</section>
{% endmacro %} \ No newline at end of file