From 800008d24cecec37594b089936af2f9b2a03aecc Mon Sep 17 00:00:00 2001 From: luxagraf Date: Tue, 5 Dec 2023 10:30:37 -0500 Subject: gtd: added search to drop down menus --- app/gtd/templates/gtd/note_form.html | 11 +++++++---- app/gtd/templates/gtd/wirednote_form.html | 10 ++++++++-- app/gtd/templates/gtd/wiredpost_form.html | 12 ++++++++++++ 3 files changed, 27 insertions(+), 6 deletions(-) diff --git a/app/gtd/templates/gtd/note_form.html b/app/gtd/templates/gtd/note_form.html index 006312b..a5b72a9 100644 --- a/app/gtd/templates/gtd/note_form.html +++ b/app/gtd/templates/gtd/note_form.html @@ -1,11 +1,12 @@ {% extends 'base_gtd.html' %} - {% block extrahead %} + + {% endblock %} {% block primary %}
@@ -25,12 +26,14 @@ form .selector label {
{% endblock %} {% block js %} - {% if is_update %}{%else%} +document.getElementById('id_body_markdown').value = params.get("description"); {% endif %} + {% endblock%} diff --git a/app/gtd/templates/gtd/wirednote_form.html b/app/gtd/templates/gtd/wirednote_form.html index 92b8230..e264310 100644 --- a/app/gtd/templates/gtd/wirednote_form.html +++ b/app/gtd/templates/gtd/wirednote_form.html @@ -1,4 +1,8 @@ {% extends 'base_gtd.html' %} +{% block extrahead %} + + +{% endblock%} {% block primary %}
{% csrf_token %} @@ -15,12 +19,14 @@
{% endblock %} {% block js %} - {% if is_update %}{%else%} {% endif %} + {% endblock%} diff --git a/app/gtd/templates/gtd/wiredpost_form.html b/app/gtd/templates/gtd/wiredpost_form.html index a9880cf..1f0e4a4 100644 --- a/app/gtd/templates/gtd/wiredpost_form.html +++ b/app/gtd/templates/gtd/wiredpost_form.html @@ -1,4 +1,8 @@ {% extends 'base_gtd.html' %} +{% block extrahead %} + + +{% endblock%} {% block primary %}
{% csrf_token %} @@ -13,4 +17,12 @@
+ +{% endblock %} +{% block js %} + {% endblock %} -- cgit v1.2.3-70-g09d2