Hide custom filename field when generate filename is checked
This commit is contained in:
parent
7a10871dfe
commit
2cd0b2af81
|
@ -10,18 +10,18 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<input type="checkbox" id="randomname" name="randomname" />
|
<input type="checkbox" id="randomname" name="randomname" onclick="$('#customnamediv').slideToggle();" />
|
||||||
<label for="randomname">Generate random filename</label>
|
<label for="randomname">Generate random filename</label>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row" id="customnamediv" style="margin-bottom: 0px">
|
||||||
<div class="input-field col s12">
|
<div class="input-field col s12">
|
||||||
<input id="customname" type="text" name="name">
|
<input id="customname" type="text" name="name">
|
||||||
<label for="customname">Custom filename, e.g qtloli.png (optional)</label>
|
<label for="customname">Custom filename, e.g qtloli.png (optional)</label>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<button class="btn waves-effect waves-light pink" type="submit">Upload
|
<button class="btn waves-effect waves-light pink" style="margin-top: 20px" type="submit">Upload
|
||||||
<i class="mdi-content-send right"></i>
|
<i class="mdi-content-send right"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue