Akron | ca9bd98 | 2016-12-06 16:59:57 +0100 | [diff] [blame] | 1 | {% extends "base.html" %} |
| 2 | {% block head %} |
| 3 | <script type="text/javascript"> |
| 4 | $(document).ready(function(){ |
| 5 | $('[data-toggle="tooltip"]').tooltip({ |
| 6 | placement : 'top', |
| 7 | float : 'left' |
| 8 | }); |
| 9 | }); |
| 10 | |
| 11 | |
| 12 | </script> |
| 13 | {% endblock %} |
| 14 | {% block content %} |
| 15 | <h1>User information</h1> |
| 16 | {% include 'flash_messages.html' %} |
| 17 | |
| 18 | {% if message %} |
| 19 | <p class="success">{{ message }}</p> |
| 20 | {% endif %} |
| 21 | |
| 22 | {% from 'macros.html' import render_form %} |
| 23 | {{ render_form(form, action_url=url_for('.profile'), method='POST', btn_class='btn btn-primary', disabled= error, |
| 24 | action_text=_('update')) }} |
| 25 | |
| 26 | {% endblock %} |