Sha256: c5ea68b2045da32e5f8aacfd0bda31af0bf170731cf895aefc3928270b677b9d

Contents?: true

Size: 734 Bytes

Versions: 2

Compression:

Stored size: 734 Bytes

Contents

.fileupload id=options[:container_id] class=options[:container_class]
  = options[:error]
  .fileupload-list.clearfix= render partial: asset_template, collection: assets
  .fileupload-upload
    .fileupload-button.pull-left
      .btn= options[:button_title] || I18n.t("admin.fileupload.button#{'s' if options[:multiple]}")
      = file_field_tag 'data', multiple: options[:multiple]
    .fileupload-edit-button.btn.pull-left= t('admin.actions.edit.link')

    .fileupload-info
      - if options[:extensions]
        .fileupload-info-extensions= options[:extensions].join(', ')
      .fileupload-info-max_size== "#{t('admin.fileupload.max_size')}: <b>#{options[:max_size]}</b> MB"

= init_js("new AdminAssets(#{js_options.to_json})")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ab_admin-0.6.1 app/views/admin/fileupload/_container.html.slim
ab_admin-0.6.0 app/views/admin/fileupload/_container.html.slim