mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 03:13:12 -04:00
Move and rename macro.html
Remove print statements Fix code style
This commit is contained in:
@@ -9,7 +9,6 @@ from app.main.forms import AddServiceForm
|
||||
@login_required
|
||||
def add_service():
|
||||
form = AddServiceForm(services_dao.find_all_service_names())
|
||||
print("serivce_names {}".format(services_dao.find_all_service_names()))
|
||||
if form.validate_on_submit():
|
||||
|
||||
user = users_dao.get_user_by_id(session['user_id'])
|
||||
@@ -17,4 +16,3 @@ def add_service():
|
||||
return redirect('/dashboard')
|
||||
else:
|
||||
return render_template('views/add-service.html', form=form)
|
||||
§
|
||||
Reference in New Issue
Block a user