Show More
@@ -1,13 +1,15 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | 2 | <%inherit file="base/base.html"/> |
|
3 | 3 | <%def name="get_form_error(element)"> |
|
4 |
|
|
|
5 | %if c.form_errors.get(element,False): | |
|
6 | <span class="error-message"> | |
|
7 | ${c.form_errors.get(element,'')} | |
|
8 | </span> | |
|
9 | %endif | |
|
10 | %endif | |
|
4 | %if hasattr(c,'form_errors'): | |
|
5 | %if type(c.form_errors) == dict: | |
|
6 | %if c.form_errors.get(element,False): | |
|
7 | <span class="error-message"> | |
|
8 | ${c.form_errors.get(element,'')} | |
|
9 | </span> | |
|
10 | %endif | |
|
11 | %endif | |
|
12 | %endif | |
|
11 | 13 | </%def> |
|
12 | 14 | <%def name="title()"> |
|
13 | 15 | ${_('Repository managment')} |
General Comments 0
You need to be logged in to leave comments.
Login now