Sha256: 580a454e2c5d9a26980a94c1a23ca1fc9d69e3a19f20579c21bd8e83562111d3

Contents?: true

Size: 999 Bytes

Versions: 2

Compression:

Stored size: 999 Bytes

Contents

<%= form_tag_with_upload_progress({:action => 'upload'}, { :begin => "new Effect.Appear('status')", :finish => "$('message').innertHTML = arguments[0]" }) %>

<div class='ui-accordion ui-widget ui-helper-reset ui-accordion-icons settings'>
  <h3 class='ui-accordion-header ui-helper-reset ui-state-active ui-corner-top'><span class='ui-icon ui-icon-disk'> </span><%= _('Upload a File to your Site') %></h3>
  <div class='ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active'>
    <div class='setting'>
      <label for="upload_filename" class='float'><%= _('File') %>:</label> 
      <div class='input_text'>
        <%= file_field('upload', 'filename') -%>      
        <%= submit_tag(_('Upload'), {:class => 'save'}) -%>
      </div>
    </div>
    
    <div id='status' class='ui-progressbar ui-widget ui-widget-content ui-corner-all' style="display: none"><%= upload_status_tag %></div>
    <div id="message"><%= @message %></div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-5.5 app/views/admin/resources/_upload.html.erb
typo-5.4.4 app/views/admin/resources/_upload.html.erb