{{#when config.type '===' 'text'}} {{/when}} {{#when config.type '===' 'email'}} {{/when}} {{#when config.type '===' 'password'}} {{/when}} {{#when config.type '===' 'search'}} {{/when}} {{#when config.type '===' 'url'}} {{/when}} {{#when config.type '===' 'color'}} {{/when}} {{#when config.type '===' 'mask'}} {{/when}} {{#when config.type '===' 'slug'}} {{/when}} {{#when config.type '===' 'textarea'}} {{/when}} {{#when config.type '===' 'wysiwyg'}} {{/when}} {{#when config.type '===' 'markdown'}} {{/when}} {{#when config.type '===' 'code'}} {{/when}} {{#when config.type '===' 'number'}} {{/when}} {{#when config.type '===' 'small'}} {{/when}} {{#when config.type '===' 'range'}} {{/when}} {{#when config.type '===' 'float'}} {{/when}} {{#when config.type '===' 'price'}} {{/when}} {{#when config.type '===' 'stars'}}
{{#if config.attributes.data-max}} {{#stars this config.attributes.data-max}}
{{#when this '===' 'half'}} {{/when}} {{#when this '===' 'whole'}} {{/when}} {{#when this '===' 'empty'}} {{/when}}
{{/stars}} {{else}} {{#stars this 5}}
{{#when this '===' 'half'}} {{/when}} {{#when this '===' 'whole'}} {{/when}} {{#when this '===' 'empty'}} {{/when}}
{{/stars}} {{/if}}
{{/when}} {{#when config.type '===' 'date'}} {{/when}} {{#when config.type '===' 'time'}} {{/when}} {{#when config.type '===' 'datetime'}} {{/when}} {{#when config.type '===' 'week'}} {{/when}} {{#when config.type '===' 'month'}} {{/when}} {{#when config.type '===' 'checkbox'}} {{/when}} {{#when config.type '===' 'switch'}} {{/when}} {{#when config.type '===' 'knob'}} {{/when}} {{#when config.type '===' 'select'}} {{/when}} {{#when config.type '===' 'multiselect'}} {{/when}} {{#when config.type '===' 'checkboxes'}}
{{#each config.options}} {{/each}}
{{/when}} {{#when config.type '===' 'radios'}}
{{#each config.options}} {{/each}}
{{/when}} {{#when config.type '===' 'countrylist'}} {{/when}} {{#when config.type '===' 'file'}} {{#if this}} {{else}} {{/if}}
{{_ 'Preview'}} {{_ 'Name'}}
{{#fileinfo this}} {{#in 'jpg,jpeg,png,gif' extension}}
{{else}}
{{extension}}
{{/in}} {{/fileinfo}}
{{chars this 75}}
{{_ 'No File Selected'}}
{{/when}} {{#when config.type '===' 'filelist'}} {{#if this.length}} {{#each this}} {{/each}} {{else}} {{/if}}
{{_ 'Preview'}} {{_ 'Name'}} {{_ 'Actions'}}
{{#fileinfo this}} {{#in 'jpg,jpeg,png,gif' extension}}
{{else}}
{{extension}}
{{/in}} {{/fileinfo}}
{{chars this 75}}        
{{_ 'No Files Selected'}}
{{/when}} {{#when config.type '===' 'image'}} {{#if this}} {{else}} {{/if}}
{{_ 'Preview'}} {{_ 'Name'}}
{{#fileinfo this}} {{#in 'jpg,jpeg,png,gif' extension}}
{{else}}
{{extension}}
{{/in}} {{/fileinfo}}
{{chars this 75}}
{{_ 'No Image Selected'}}
{{/when}} {{#when config.type '===' 'imagelist'}} {{#if this.length}} {{#each this}} {{/each}} {{else}} {{/if}}
{{_ 'Preview'}} {{_ 'Name'}} {{_ 'Actions'}}
{{#fileinfo this}} {{#in 'jpg,jpeg,png,gif' extension}}
{{else}}
{{extension}}
{{/in}} {{/fileinfo}}
{{chars this 75}}        
{{_ 'No Images Selected'}}
{{/when}} {{#when config.type '===' 'tag'}}
{{#each this}}
{{/each}}
{{/when}} {{#when config.type '===' 'textlist'}}
{{#each this}}
{{/each}} {{_ 'Add'}}
{{/when}} {{#when config.type '===' 'textarealist'}}
{{#each this}}
{{/each}} {{_ 'Add'}}
{{/when}} {{#when config.type '===' 'wysiwyglist'}}
{{#each this}}
{{/each}} {{_ 'Add'}}
{{/when}} {{#when config.type '===' 'meta'}}
{{#each this}}
{{/each}} {{_ 'Add'}}
{{/when}} {{#when config.type '===' 'table'}}
{{#each config.columns}} {{/each}} {{#each this}} {{#each this}} {{/each}} {{/each}}
{{_ 'Actions'}}{{this}}
{{_ 'Add Row'}}
{{/when}} {{#when config.type '===' 'multirange'}} {{/when}} {{#when config.type '===' 'latlng'}} {{/when}} {{#when config.type '===' 'rawjson'}} {{/when}}