##// END OF EJS Templates
moved get_form_error to base
marcink -
r176:8dd7305f default
parent child Browse files
Show More
@@ -99,4 +99,15 b''
99
99
100 <%def name="js()">
100 <%def name="js()">
101 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
101 <script type="text/javascript" src="/js/yui/utilities/utilities.js"></script>
102 </%def>
103
104 <!-- DEFINITION OF FORM ERROR FETCHER -->
105 <%def name="get_form_error(element)">
106 %if hasattr(c,'form_errors') and type(c.form_errors) == dict:
107 %if c.form_errors.get(element,False):
108 <span class="error-message">
109 ${c.form_errors.get(element,'')}
110 </span>
111 %endif
112 %endif
102 </%def> No newline at end of file
113 </%def>
General Comments 0
You need to be logged in to leave comments. Login now