fixed create button in admin, thanks Nico

This commit is contained in:
mdipierro
2012-08-06 20:54:19 -05:00
parent eb61d2e69f
commit b0d3b2063e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.00.0 (2012-08-06 17:36:46) dev
Version 2.00.0 (2012-08-06 20:54:15) dev
+1 -1
View File
@@ -207,7 +207,7 @@ for c in controllers: controller_functions+=[c[:-3]+'/%s.html'%x for x in functi
{{if p[0] == 0:}}
<b>{{=T("rules are not defined")}}</b>,
<span class="controls comptools">
{{=button(URL('create_file', vars=dict(filename=p[2], location='gluon/contrib/rules/', sender=URL('design', args=app), id=id, app=app)), T('Create rules'))}}
{{=button(URL('create_file', vars=dict(filename=p[2], location='gluon/contrib/rules/', sender=URL('design', args=app), id=id, app=app, token=session.token)), T('Create rules'))}}
</span>
{{else:}}
{{if p[0] == 1:}}