Sha256: 07d8e86ea21d49ee81d8a10266a6acad355e5c5656401394bd3cb8f70213ad33
Contents?: true
Size: 1.09 KB
Versions: 2
Compression:
Stored size: 1.09 KB
Contents
<li class="thumbnail"> <%= image_tag picture.url(:thumb) %> <div class="thumbnail-toolbar btn-group"> <%= link_to '#', :'data-tip' => t('fullstack.admin.add', :default => "Add"),:"data-toggle"=>"dropdown", :class => "btn btn-success dropdown-toggle" do %> <i class="icon-ok"></i> <span class="caret"></span> <% end %> <ul class="dropdown-menu"> <% asset_attachment(picture).styles.each do |name, style| %> <li> <%= link_to name.to_s.humanize + " - " + style.geometry, "javascript:sendBackToCkeditor('#{picture.url(name)}')" %> </li> <% end %> </ul> <%= btn '<i class="icon-zoom-in"></i>'.html_safe, picture.url, :rel => "facebox", :'data-tip' => t('fullstack.admin.preview', :default => "Preview") %> <%= btn '', admin_ckeditor_picture_path(picture), :remote => true, :method => :delete, :confirm => t('fullstack.admin.are_you_sure', :default => "Are you sure?"), :icon => :trash, :type => :danger, :icon_color => :white, :'data-tip' => t('fullstack.admin.delete', :default => "Delete") %> </div> </li>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fullstack-ckeditor-0.1.4 | app/views/admin/ckeditor/pictures/_picture.html.erb |
fullstack-ckeditor-0.1.3 | app/views/admin/ckeditor/pictures/_picture.html.erb |