Prototype website for VPN service, Bitcoin payments via the Blockchain.info API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.0 KiB

10 years ago
  1. {% extends "layout.html" %}
  2. {% from "_macros.html" import render_field_with_label, render_field %}
  3. {% block title %}Create Support Ticket - packetcrypt{% endblock %}
  4. {% block flash %}
  5. {% for field in form.errors %}
  6. {% for error in form.errors[field] %}
  7. <div class="uk-alert uk-alert-danger" data-uk-alert><a href="" class="uk-alert-close uk-close"></a>{{ field }}: {{ error }}</div>
  8. {% endfor %}
  9. {% endfor %}
  10. {% endblock %}
  11. {% block content %}
  12. <div id="form-container" class="uk-width-1-2 uk-panel uk-panel-box uk-container-center">
  13. <form action="{{ url_for('newticket') }}" method="POST" name="form" class="uk-form" style="width:100%;">
  14. {{ form.hidden_tag() }}
  15. {{ render_field_with_label(form.subject) }}
  16. {{ render_field_with_label(form.body) }}
  17. <div class="uk-form-row">
  18. <button class="uk-button uk-button-primary" type="Submit">Create Ticket</button>
  19. <button class="uk-button uk-button-danger" type="reset">Reset</button>
  20. <a class="uk-button" href="{{ url_for('dashboard') }}">Cancel</a>
  21. </div>
  22. </form>
  23. </div>
  24. {% endblock %}