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