Only show debug toggle in dev mode
This commit is contained in:
parent
aab338ce17
commit
0b468760fb
|
@ -50,11 +50,13 @@
|
||||||
<% end %>
|
<% end %>
|
||||||
<hr /> <br />
|
<hr /> <br />
|
||||||
<input type="hidden" name="debug" value="no" />
|
<input type="hidden" name="debug" value="no" />
|
||||||
|
<% if ENV["GENIE_ENV"] == "dev" %>
|
||||||
<small>
|
<small>
|
||||||
<label for="qn-debug">
|
<label for="qn-debug">
|
||||||
<input type="checkbox" id="qn-debug" name="debug" role="switch" value="yes">
|
<input type="checkbox" id="qn-debug" name="debug" role="switch" value="yes">
|
||||||
Debug
|
Debug
|
||||||
</label>
|
</label>
|
||||||
</small>
|
</small>
|
||||||
|
<% else "" end %>
|
||||||
</form>
|
</form>
|
||||||
</main>
|
</main>
|
||||||
|
|
Loading…
Reference in New Issue