Sha256: 186dcc3c12ccbe3db5c45c23151323a69a732df2cbfe47fbbc4d9174cc6b52c2
Contents?: true
Size: 1.3 KB
Versions: 7
Compression:
Stored size: 1.3 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> <div class='form-actions'> <%= f.submit 'Save', :id => "submit_button" %> or <%= link_to "Cancel", admin_resources_url, :title => "Cancelling will lose all changes you've made to this file", :class => "close_dialog" -%> </div> <% 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
7 entries across 7 versions & 1 rubygems