Sha256: aee87cf4bb9635e60f84311f8d962384d74adf387f8c8c83087e59274aff1c5e
Contents?: true
Size: 994 Bytes
Versions: 2
Compression:
Stored size: 994 Bytes
Contents
<% content_for :html_head do %> <% javascript_tag do %> jQuery(function($) { $('#mock_<%= object_name %>_<%= method %>') .focus(function() {this.blur()}) .mousedown(function() {this.blur()}) $('#<%= object_name %>_<%= method %>').change(function() { $('#mock_<%= object_name %>_<%= method %>') .attr('value', $(this).attr('value')) }) }) <% end %> <% end %> <div class="fields file_fields"> <% if cms_options[:label] %> <%= f.label method, cms_options[:label] %> <% else %> <%= f.label method %> <% end %> <div id="<%= object_name %>_<%= method %>_div"> <input type="text" name="temp" class="mock" id="mock_<%= object_name %>_<%= method %>" /> <%= image_tag("cms/browse.gif") %> <%= f.file_field method, {:size => 1}.merge(options) %> </div> <% if cms_options[:instructions] %> <div class="instructions">Leave blank to return the same page</div> <br clear="all"/> <% end %> </div>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nate-browsercms-3.0.210 | app/views/cms/form_builder/_cms_file_field.html.erb |
nate-browsercms-3.0.211 | app/views/cms/form_builder/_cms_file_field.html.erb |