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.

14 lines
580 B

11 years ago
  1. {% macro render_field_with_label(field) %}
  2. {% set css_class=kwargs.pop('class', '') %}
  3. <span class="uk-text-small uk-text-bold">{{ field.label }}:</span>
  4. <div class="uk-form-row pc-form-row">{{ field(class=css_class, **kwargs)|safe }}</div>
  5. {% endmacro %}
  6. {% macro render_field_with_label_oneline(field) %}
  7. {% set css_class=kwargs.pop('class', '') %}
  8. <div class="uk-form-row">{{field.label}} {{field(class=css_class, **kwargs)|safe }}</div>
  9. {% endmacro %}
  10. {% macro render_field(field) %}
  11. <div class="uk-form-row">{{ field(class=css_class, **kwargs)|safe }}</div>
  12. {% endmacro %}