Sha256: 544933c2b28b6de252844acee91c96cd234e47e302898b5c7e0dae9875f719c1

Contents?: true

Size: 1.07 KB

Versions: 39

Compression:

Stored size: 1.07 KB

Contents

.edit-assets-container
  .image-container data-height=@content_asset.height data-width=@content_asset.width data-filename=@content_asset.name

    = image_tag @content_asset.source.url

  .resize-form style='display: none'
    - resize_form = image_resize_form(@content_asset)
    = locomotive_form_for resize_form, url: '#' do |f|
      = f.inputs do
        = f.input :width
        = f.input :height

      .text-right
        button.btn.btn-sm.btn-success.apply-resizing-btn autocomplete='off' data-loading-text=f.submit_text(:loading_text)
          = f.submit_text
        |  
        button.btn.btn-sm.btn-default.cancel-resizing-btn autocomplete="off"
          = f.submit_text :cancel

  .actions
    .btn-group-vertical role="group"
      button.btn.btn-sm.btn-primary.resize-btn title=t('.buttons.resize')
        i.fa.fa-compress
      button.btn.btn-sm.btn-primary.crop-btn  title=t('.buttons.crop')
        i.fa.fa-crop
      button.btn.btn-sm.btn-success.apply-btn title=t('.buttons.apply') data-url=content_assets_path(current_site, format: :json)
        i.fa.fa-check

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
locomotivecms-4.2.0.alpha2 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.2.0.alpha1 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.1.1 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.1.0 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.1.0.rc1 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.0.3 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.0.2 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.0.1 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.0.0 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.0.0.rc0 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.0.0.alpha3 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-3.4.1 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.0.0.alpha2 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-4.0.0.alpha1 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-3.4.0 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-3.3.0 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-3.3.0.rc3 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-3.3.0.rc2 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-3.1.2 app/views/locomotive/content_assets/edit_in_drawer.html.slim
locomotivecms-3.2.1 app/views/locomotive/content_assets/edit_in_drawer.html.slim