Sha256: 30e5b47349bedadf213d176352bda3181f14f0a513c52da918ccfad2ba58d0d0

Contents?: true

Size: 799 Bytes

Versions: 15

Compression:

Stored size: 799 Bytes

Contents

<sp:template>
    <tpl:asset type="js" src="input.js" />
    <tpl:asset type="js" src="select.js" />
    <tpl:asset type="js" app="core/components" src="js/jquery/plugins/bsmselect/js/jquery.bsmselect.js" if="@multiple" />
    <tpl:asset type="css" app="core/components" src="js/jquery/plugins/bsmselect/css/jquery.bsmselect.css" if="@multiple" />
    <select name="{ @value_param }" id="input" sp:attr-if="@multiple,multiple" title="">
    	
        <option sp:if="@blank_option"> </option>
        <option sp:each_index="@data |i|" value="{ @values[i] }" sp:attr-if="@selected[values[i]],selected">
            <tpl:pass sp:if="@tree_depth">
                { "-"*(@data[i].get(@tree_depth)||0) }
            </tpl:pass>
            { @data[i].to_s }
        </option>
    </select>
</sp:template>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
spiderfw-0.6.38 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.37 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.35 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.34 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.33 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.32 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.31 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.30 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.29 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.28 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.27 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.26 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.26.pre1 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.25 apps/core/forms/widgets/inputs/select/select.shtml
spiderfw-0.6.24 apps/core/forms/widgets/inputs/select/select.shtml