Sha256: 24eeb2dd51ade6ca9e0fe0935c53aa241f36e0a3dc4c3ab43f1335fc0cabb010

Contents?: true

Size: 779 Bytes

Versions: 9

Compression:

Stored size: 779 Bytes

Contents

= admin_form_for Asset.new, url: batch_update_admin_assets_path, remote: true, html: {class: 'fileupload-edit-form'} do |f|
  - first_locale = Globalize.available_locales.first
  - f.locale_tabs do |l|
    - @assets.each do |asset|
      .row-fluid
        .span4
          a.thumbnail href=asset.url target='_blank' = image_tag(asset.thumb_url)
        .span8
          - if first_locale == l
            p= text_field :data, :base_filename, index: asset.id, value: asset.base_filename, placeholder: Asset.han(:data_file_name), style: 'width: 95%;'
          - [:alt, :name].each do |attr|
            - loc_attr = "#{attr}_#{l}"
            p= text_field :data, loc_attr, index: asset.id, value: asset.send(loc_attr), placeholder: Asset.han(attr), style: 'width: 95%;'
      hr

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ab_admin-0.8.3 app/views/admin/assets/batch_edit.html.slim
ab_admin-0.8.2 app/views/admin/assets/batch_edit.html.slim
ab_admin-0.8.1 app/views/admin/assets/batch_edit.html.slim
ab_admin-0.8.0 app/views/admin/assets/batch_edit.html.slim
ab_admin-0.7.0 app/views/admin/assets/batch_edit.html.slim
ab_admin-0.6.1 app/views/admin/assets/batch_edit.html.slim
ab_admin-0.6.0 app/views/admin/assets/batch_edit.html.slim
ab_admin-0.5.0 app/views/admin/assets/batch_edit.html.slim
ab_admin-0.4.0 app/views/admin/assets/batch_edit.html.slim