fixed create button in admin, thanks Nico
This commit is contained in:
1 parent
b870074e5c
commit
15a3241437
2 files changed
+2
-2
No files matched your search
@@ -1 +1 @@
|
|||||||
Version 2.00.0 (2012-08-06 17:36:46) dev
|
Version 2.00.0 (2012-08-06 20:54:15) dev
|
||||||
@@ -207,7 +207,7 @@ for c in controllers: controller_functions+=[c[:-3]+'/%s.html'%x for x in functi
|
|||||||
{{if p[0] == 0:}}
|
{{if p[0] == 0:}}
|
||||||
<b>{{=T("rules are not defined")}}</b>,
|
<b>{{=T("rules are not defined")}}</b>,
|
||||||
<span class="controls comptools">
|
<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>
|
</span>
|
||||||
{{else:}}
|
{{else:}}
|
||||||
{{if p[0] == 1:}}
|
{{if p[0] == 1:}}
|
||||||
|
|||||||
Reference in new issue
Block a user