You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
517 B
HTML
23 lines
517 B
HTML
7 years ago
|
{% macro panel(style, title) %}
|
||
|
<div class="panel panel-{{ style }}">
|
||
|
<div class="panel-heading">
|
||
|
<h3 class="panel-title">{{ title }}</h3>
|
||
|
</div>
|
||
|
<div class="panel-body">
|
||
|
{{ caller() }}
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endmacro %}
|
||
|
|
||
|
{% macro radio(name, value, emph, text) %}
|
||
|
<div class="radio">
|
||
|
<label>
|
||
|
<input type="radio" name="{{ name }}" value="{{ value }}">
|
||
|
{% if emph %}
|
||
|
<strong>{{ emph }}</strong>,
|
||
|
{% endif %}
|
||
|
{{ text }}
|
||
|
</label>
|
||
|
</div>
|
||
|
{% endmacro %}
|