mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
View edit service notes page
This commit is contained in:
@@ -1195,7 +1195,7 @@ def edit_service_notes(service_id):
|
||||
form = EditServiceNotesForm()
|
||||
|
||||
if request.method == 'GET':
|
||||
form.name.data = current_service.notes
|
||||
form.notes.data = current_service.notes
|
||||
|
||||
if form.validate_on_submit():
|
||||
|
||||
|
||||
28
app/templates/views/service-settings/edit-service-notes.html
Normal file
28
app/templates/views/service-settings/edit-service-notes.html
Normal file
@@ -0,0 +1,28 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/page-header.html" import page_header %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/form.html" import form_wrapper %}
|
||||
{% from "components/textbox.html" import textbox %}
|
||||
|
||||
{% block service_page_title %}
|
||||
Data retention
|
||||
{% endblock %}
|
||||
|
||||
{% block maincolumn_content %}
|
||||
|
||||
{{ page_header(
|
||||
'Edit service notes',
|
||||
back_link=url_for('.service_settings', service_id=current_service.id)
|
||||
) }}
|
||||
{% call form_wrapper() %}
|
||||
{{ textbox(
|
||||
form.notes,
|
||||
rows=4,
|
||||
width='1-1',
|
||||
autofocus=True,
|
||||
autosize=True,
|
||||
) }}
|
||||
{{ page_footer('Save') }}
|
||||
{% endcall %}
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user