Commit a5891247 authored by Ryan Herbert's avatar Ryan Herbert

partial/file/form.html set new input value

the input used to be a textarea, the value was not set due to it being
encapsulated in between the textarea tags.
See #3091
parent 5d650bab
Pipeline #19981 failed with stages
in 42 seconds
......@@ -55,7 +55,8 @@
class="text form-control"
name="file[{{=i}}][info]"
rows="1"
placeholder="sample information (#tags can be used)">{{if 'info' in file and file['info'] is not None:}}{{=file['info']}}{{pass}}</input>
placeholder="sample information (#tags can be used)"
value="{{if 'info' in file and file['info'] is not None:}}{{=file['info']}}{{pass}}"/>
</div>
<div class="field_div">
<div class="token_div form-control" onclick="$('#token_input_{{=i}}').focus()">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment