Browse Source

Fix: forceGrant as variable

Sotaro KARASAWA 10 years ago
parent
commit
b640d8d623
1 changed files with 1 additions and 1 deletions
  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 %}