mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
Download clients now use thingy provider
This commit is contained in:
parent
ba22600412
commit
606d78f5e1
123 changed files with 2076 additions and 1820 deletions
|
@ -35,6 +35,13 @@ define(
|
|||
]);
|
||||
}
|
||||
|
||||
if (field.type === 'path') {
|
||||
return _templateRenderer.apply(field,
|
||||
[
|
||||
'Form/PathTemplate'
|
||||
]);
|
||||
}
|
||||
|
||||
return _templateRenderer.apply(field,
|
||||
[
|
||||
'Form/TextboxTemplate'
|
||||
|
|
12
src/UI/Form/PathTemplate.html
Normal file
12
src/UI/Form/PathTemplate.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<div class="control-group">
|
||||
<label class="control-label">{{label}}</label>
|
||||
|
||||
<div class="controls">
|
||||
<input type="text" name="fields.{{order}}.value" validation-name="{{name}}" class="x-path"/>
|
||||
{{#if helpText}}
|
||||
<span class="help-inline">
|
||||
<i class="icon-nd-form-info" title="{{helpText}}"/>
|
||||
</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue