mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 15:18:26 -04:00
Make pricing table searchable
uses the same pattern as searching templates by name.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
from flask import (render_template, url_for, redirect, request, abort)
|
||||
from app.main import main
|
||||
from app import convert_to_boolean
|
||||
from app.main.forms import SearchTemplatesForm
|
||||
from flask_login import (login_required, current_user)
|
||||
|
||||
from notifications_utils.template import HTMLEmailTemplate
|
||||
@@ -38,7 +39,8 @@ def pricing():
|
||||
international_sms_rates=sorted([
|
||||
(cc, country['names'], country['billable_units'])
|
||||
for cc, country in INTERNATIONAL_BILLING_RATES.items()
|
||||
], key=lambda x: x[0])
|
||||
], key=lambda x: x[0]),
|
||||
search_form=SearchTemplatesForm(),
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user