Sha256: eb11d59ad35221ba26892c616ea325ad6aedb36c4c1b36bd88f1725521dfbad4

Contents?: true

Size: 647 Bytes

Versions: 14

Compression:

Stored size: 647 Bytes

Contents

<sp:template>
    <tpl:asset type="css" src="css/file_input.css" />
    <tpl:asset type="js" src="input.js" />
    <tpl:asset type="js" src="file_input.js" />
    <div sp:if="@value && !@value.to_s.empty?">
        <a class="file-link" href="{ widget_action('view_file') }">{ @formatted_value }</a>
        <span class="clear">(<input type="checkbox" name="{ @name }[clear]"> _(Clear))</span>
    </div>
    <div class="change"><span sp:if="@value && !@value.to_s.empty?"><span class="change-label">_(Change)</span>:</span>
        <input type="file" name="{ @name }[file]" id="input" value="{ @value }" size="{ @size }">
    </div>
</sp:template>

Version data entries

14 entries across 14 versions & 1 rubygems

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