Created
August 8, 2013 11:44
-
-
Save phcostabh/6183923 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'base.volt' %} | |
{% block content %} | |
{%- macro error_messages(message, field, type) %} | |
<div> | |
<span class="error-type">{{ type }}</span> | |
<span class="error-field">{{ field }}</span> | |
<span class="error-message">{{ message }}</span> | |
</div> | |
{%- endmacro %} | |
{{ error_messages("there is an error", "id", "required") }} | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment