##// END OF EJS Templates
svn-support: Add missing argument to tmplate context....
svn-support: Add missing argument to tmplate context. This argument was only added in the view handling GET requests. But in case of an error the POST view also rederes the template and threfore need this arguement.

File last commit:

r731:7a6d3636 default
r1023:7d893c6f default
Show More
widgets.html
18 lines | 441 B | text/html | HtmlLexer
dan
integrations: refactor/cleanup + features, fixes #4181...
r731 <%def name="panel(title='', category='default', class_='')">
<div class="panel panel-${category} ${class_}">
%if title or hasattr(caller, 'title'):
dan
account: convert change password form to colander schema and fix bug...
r665 <div class="panel-heading">
dan
integrations: refactor/cleanup + features, fixes #4181...
r731 <h3 class="panel-title">
%if title:
${title}
%else:
${caller.title()}
%endif
</h3>
dan
account: convert change password form to colander schema and fix bug...
r665 </div>
dan
integrations: refactor/cleanup + features, fixes #4181...
r731 %endif
dan
account: convert change password form to colander schema and fix bug...
r665 <div class="panel-body">
${caller.body()}
</div>
</div>
</%def>