Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
protokollsystem
proto3
Commits
2d49fcd3
Commit
2d49fcd3
authored
Mar 09, 2017
by
Administrator
Browse files
Call variables by their actual name
/close
#50
parent
a3cc09dc
Changes
3
Show whitespace changes
Inline
Side-by-side
server.py
View file @
2d49fcd3
...
...
@@ -284,7 +284,7 @@ def edit_reminder(meetingreminder):
form
.
populate_obj
(
meetingreminder
)
db
.
session
.
commit
()
return
redirect
(
request
.
args
.
get
(
"next"
)
or
url_for
(
"show_type"
,
protocoltype_id
=
protocoltype
.
id
))
return
render_template
(
"reminder-edit.html"
,
form
=
form
,
protocoltype
=
protocoltype
,
meetingreminder
=
meetingreminder
)
return
render_template
(
"reminder-edit.html"
,
form
=
form
,
meetingreminder
=
meetingreminder
)
@
app
.
route
(
"/type/reminder/delete/<int:meetingreminder_id>"
)
@
login_required
...
...
templates/defaultmeta-edit.html
View file @
2d49fcd3
...
...
@@ -4,6 +4,6 @@
{% block content %}
<div
class=
"container"
>
{{render_form(form, action_url=url_for("edit_defaultmeta", defaultmeta_id=meta.id, next=url_for("show_type", protocoltype_id=meta.protocoltype.id)), action_text="Ändern")}}
{{render_form(form, action_url=url_for("edit_defaultmeta", defaultmeta_id=
default
meta.id, next=url_for("show_type", protocoltype_id=
default
meta.protocoltype.id)), action_text="Ändern")}}
</div>
{% endblock %}
templates/reminder-edit.html
View file @
2d49fcd3
...
...
@@ -4,6 +4,6 @@
{% block content %}
<div
class=
"container"
>
{{render_form(form, action_url=url_for("edit_reminder", meetingreminder_id=meetingreminder.id, next=url_for("show_type", protocoltype_id=protocoltype.id)), action_text="Ändern")}}
{{render_form(form, action_url=url_for("edit_reminder", meetingreminder_id=meetingreminder.id, next=url_for("show_type", protocoltype_id=
meetingreminder.
protocoltype.id)), action_text="Ändern")}}
</div>
{% endblock %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment