Parcourir la source

Fix: forceGrant as variable

Sotaro KARASAWA il y a 10 ans
Parent
commit
b640d8d623
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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 %}