Sha256: bf7a04aa11891e247ba1fc4ced4c650478836a3495196b8092d26e84aefe0e23

Contents?: true

Size: 700 Bytes

Versions: 2

Compression:

Stored size: 700 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
      .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.5.0 app/views/admin/fileupload/_container.html.slim
ab_admin-0.4.0 app/views/admin/fileupload/_container.html.slim