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