Mercurial > libervia-templates
view sat_templates/default/invitation/welcome.html @ 153:b84d20af0ed3
macros (field, form, textbox): general improvments:
- use a generic "field" macro for most fields
- added "required" class on input labels if suitable
- extra kw args are used as input field attributes. Same thing for forms
- better handling of id if label is missing
- added blog_text macro in textbox for basic text blog input
- textbox is more customisable (class and textarea class can be specified)
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 21 Jun 2018 01:09:00 +0200 |
parents | 33c7ce833d3f |
children |
line wrap: on
line source
{% extends 'base/base.html' %} {% block body %} <div class='invitation_header'> <h1>{% trans %}Welcome {{name}}{% endtrans %}</h1> <p class='instructions'>{% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}</p> </div> {% if include_url is defined %} <iframe id='include_main' src='{{include_url}}'></iframe> {% endif %} {% endblock body %}