diff --git a/open_event/api/sponsors.py b/open_event/api/sponsors.py index 0aabe8b53c..2b65ed3d32 100644 --- a/open_event/api/sponsors.py +++ b/open_event/api/sponsors.py @@ -88,7 +88,7 @@ def post(self, event_id): @api.route('/events//sponsors/types') class SponsorTypesList(Resource): - @api.doc('list_sponsor_types') + @api.doc('list_sponsor_types', model=[fields.String()]) def get(self, event_id): """List all sponsor types""" return DAO.list_types(event_id) diff --git a/open_event/templates/gentelella/admin/profile/_form.html b/open_event/templates/gentelella/admin/profile/_form.html index 0a34b1dc04..edd35f07cc 100644 --- a/open_event/templates/gentelella/admin/profile/_form.html +++ b/open_event/templates/gentelella/admin/profile/_form.html @@ -13,54 +13,51 @@ Details about user: {{profile.user_detail.details}} - - Email:* - - - - - - Avatar: - - - {% if profile.user_detail.avatar %} - - {% else %} - - {% endif %} - - Contact: - - - {% if profile.user_detail.contact %} - - {% else %} - - {% endif %} - + + + Email:* + + + + + + Contact: + + + {% if profile.user_detail.contact %} + + {% else %} + + {% endif %} + + + + + Facebook: + + + {% if profile.user_detail.facebook %} + + {% else %} + + {% endif %} + + + + Twitter: + + + {% if profile.user_detail.twitter %} + + {% else %} + + {% endif %} + + - Facebook: - - - {% if profile.user_detail.facebook %} - - {% else %} - - {% endif %} - - - Twitter: - - - {% if profile.user_detail.twitter %} - - {% else %} - - {% endif %} -