26 lines
973 B
HTML
26 lines
973 B
HTML
|
|
<form>
|
||
|
|
<div class="form-group">
|
||
|
|
<label>{{localize "EDITOR.ImageSource"}}</label>
|
||
|
|
<div class="form-fields">
|
||
|
|
<file-picker name="src" type="image" value="{{src}}"></file-picker>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label>{{localize "EDITOR.ImageAlt"}}</label>
|
||
|
|
<div class="form-fields">
|
||
|
|
<input type="text" name="alt" value="{{ alt }}">
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
<div class="form-group">
|
||
|
|
<label>{{localize "EDITOR.ImageDimensions"}}</label>
|
||
|
|
<div class="form-fields">
|
||
|
|
<label>{{localize "Width"}}</label>
|
||
|
|
{{numberInput width name="width" min="0" step="1"}}
|
||
|
|
<label>{{localize "Height"}}</label>
|
||
|
|
{{numberInput height name="height" min="0" step="1"}}
|
||
|
|
</div>
|
||
|
|
<p class="hint">{{localize "EDITOR.ImageDimensionsHint"}}</p>
|
||
|
|
</div>
|
||
|
|
<button type="button" name="save">{{localize "EDITOR.ImageInsert"}}</button>
|
||
|
|
</form>
|