Sha256: 85193f7050f794d54b54c1d87467f02b4f34a42b62bf8f7fdde9bdf29e240e83
Contents?: true
Size: 744 Bytes
Versions: 2
Compression:
Stored size: 744 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", data: { confirm: t('quadro.confirmation.image') }, remote: true, class: "btn btn-link btn-xs" do %i.fa.fa-trash-o.text-danger
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
quadro-0.6.1 | app/views/quadro/assets/image/_image.html.haml |
quadro-0.6.0 | app/views/quadro/assets/image/_image.html.haml |