Explorar el Código

Fix: forceGrant as variable

Sotaro KARASAWA hace 10 años
padre
commit
b640d8d623
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/views/_form.html

+ 1 - 1
lib/views/_form.html

@@ -22,7 +22,7 @@
 
       <div class="pull-right form-inline">
         {% if forceGrant %}
-        <input type="hidden" name="pageForm[grant]" value="forceGrant">
+        <input type="hidden" name="pageForm[grant]" value="{{ forceGrant }}">
         {% else %}
         <select name="pageForm[grant]" class="form-control">
           {% for grantId, grantLabel in consts.pageGrants %}