Sha256: 4618c230064d5cfc04fada186d0e176ee323991f0e6341a3117801268ff2f223

Contents?: true

Size: 754 Bytes

Versions: 8

Compression:

Stored size: 754 Bytes

Contents

= stylesheet_link_tag 'admin/assets'
= javascript_include_tag 'admin/custom_file_upload'
= render_region :top

- render_region :main do |main|
  - main.edit_header do
    %h1= t("clipped_extension.new_asset")

    - main.edit_form do
      - form_for :asset, :url => admin_assets_path, :html => { :method => "post", :multipart => true } do |f|
        %fieldset
          %label.custom-file-upload
            = t("clipped_extension.choose_file")
            = f.file_field :asset, :style => "width: 100%", :multiple => true
          %span#file-chosen No file chosen

        .buttons
          = save_model_button(@asset)
          = save_model_and_continue_editing_button(@asset)
          = t("or")
          = link_to t("cancel"), admin_assets_path

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
trusty-cms-7.0.8 app/views/admin/assets/new.html.haml
trusty-cms-7.0.7 app/views/admin/assets/new.html.haml
trusty-cms-7.0.6 app/views/admin/assets/new.html.haml
trusty-cms-7.0.5 app/views/admin/assets/new.html.haml
trusty-cms-7.0.4 app/views/admin/assets/new.html.haml
trusty-cms-7.0.3 app/views/admin/assets/new.html.haml
trusty-cms-7.0.2 app/views/admin/assets/new.html.haml
trusty-cms-7.0.1 app/views/admin/assets/new.html.haml