Sha256: d06b1f9a5616599fbb40db446e8987fe52dbbba93b1203e1974b68fdbc8dfc77
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 KB
Contents
<%= error_messages_for :resource -%> <% form_for [:admin, @resource], :url => @url_override || @url, :html => {:multipart => true} do |f| -%> <div class='field'> <%= f.label :uploaded_data, 'File to upload' -%> <% if params[:action] =~ /(edit)|(update)/ -%> <%= link_to "Download current file", @resource.public_filename, {:title => @resource.title} -%> <em>or</em>, replace it with this one... <% end -%> <%= f.file_field :uploaded_data -%> </div> <%= render :partial => "/shared/admin/form_actions", :locals => {:f => f, :continue_editing => false} %> <% if @thickbox %> <input type='hidden' name='thickbox' value='<%= @thickbox %>' /> <input type='hidden' name='field' value='<%= @field %>' /> <input type='hidden' name='update_resource' value='<%= @update_resource %>' /> <input type='hidden' name='update_text' value='<%= @update_text %>' /> <input type='hidden' name='thumbnail' value='<%= @thumbnail %>' /> <input type='hidden' name='callback' value='<%= @callback %>' /> <input type='hidden' name='conditions' value='<%= @conditions %>' /> <input type='hidden' name='current_link' value='<%= @current_link %>' /> <% end %> <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
refinerycms-0.9.5.13 | vendor/plugins/resources/app/views/admin/resources/_form.html.erb |