Sha256: bd7b7dcc888c4b9cc1716ee68f10c54640c207f479ce54bb049209d455ac9778

Contents?: true

Size: 727 Bytes

Versions: 1

Compression:

Stored size: 727 Bytes

Contents

.col-xs-6.col-sm-6.col-md-3.col-lg-2(id="image-#{asset.id}")
  .thumbnail
    = image_tag asset.url(:small), alt: asset.alt
    .caption.clearfix
      .pull-right

        = link_to (widget.present? ? edit_page_widget_asset_path(page_id: page.id, widget_id: widget.id, id: asset.id) : edit_page_asset_path(id: asset.id, page_id: page.id)), remote: true, class: "btn btn-link btn-xs" do
          %i.fa.fa-pencil.text-muted
        = link_to (widget.present? ? page_widget_asset_path(page_id: page.id, widget_id: widget.id, id: asset.id) : page_asset_path(id: asset.id, page_id: page.id)), method: "delete", confirm: t('confirmation.image'), remote: true, class: "btn btn-link btn-xs" do
          %i.fa.fa-trash-o.text-danger

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quadro-0.5.7 app/views/quadro/assets/image/_image.html.haml