{# Render a form tag taht contains a CSRF token and all hiddedn fields. #} {%- macro form_tag(form, endpoint, fid='', css_class='', method="POST", enctype='') -%}
{%- endmacro -%} {# Render a form field's errors. #} {%- macro field_errors(f) -%} {% if f.errors %}
{{user|orcid if full_url else config.ORCID_BASE_URL + user.orcid}}
{%- else %} {% endif -%}
{%- endmacro -%}
{# Render a satic image link. #}
{%- macro image(filename) -%}
{{url_for('static', filename='images/' + filename)}}
{%- endmacro -%}
{# Pager #}
{% macro pager(page, page_count) -%}
{% if page_count > 1%}
{% endif %}
{%- endmacro -%}