Macros ====== These macros will help you to generate Rings codes quickly and easily. render_field() -------------- Render a field of a form created with Flask-WTF/WTForms. Example ^^^^^^^ .. code:: jinja {% from 'rings/wtf.html' import render_field %}
Args ^^^^ .. py:function:: render_field(field, button_type="blue", class="") :param field: The field to render :param button_type: The style of the submit button, defaults to "blue" :param class: The extra classes to be added to the field render_form() ------------- Render a form created with Flask-WTF/WTForms. Example ^^^^^^^ .. code:: jinja {% from 'rings/wtf.html' import render_form %}