Changeset - 68e574905860
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 16 years ago 2010-04-26 00:46:28
marcin@python-works.com
admin fix
1 file changed with 9 insertions and 7 deletions:
0 comments (0 inline, 0 general)
pylons_app/templates/admin.html
Show inline comments
 
## -*- coding: utf-8 -*-
 
<%inherit file="base/base.html"/>
 
 <%def name="get_form_error(element)">
 
    %if type(c.form_errors) == dict:
 
        %if c.form_errors.get(element,False):
 
            <span class="error-message">
 
                ${c.form_errors.get(element,'')}
 
            </span>
 
        %endif
 
    %endif           
 
 	%if hasattr(c,'form_errors'):
 
	    %if type(c.form_errors) == dict:
 
	        %if c.form_errors.get(element,False):
 
	            <span class="error-message">
 
	                ${c.form_errors.get(element,'')}
 
	            </span>
 
	        %endif
 
	    %endif
 
	%endif           
 
 </%def>
 
<%def name="title()">
 
    ${_('Repository managment')}
0 comments (0 inline, 0 general)