Sha256: fd7290faffbc665569052ca9c63a1406245579c84fc38bac80c13c788ae0b8ea
Contents?: true
Size: 1.48 KB
Versions: 1
Compression:
Stored size: 1.48 KB
Contents
<%- if @no_image_notice -%> <div class="with_padding"> <div class="info"> <%= render_icon('info') %> <%= @no_image_notice %> </div> </div> <%- else -%> <div id="overlay_toolbar"> <%= form_for(@essence_picture, :url => alchemy.admin_essence_picture_path(@essence_picture, :options => @options), :id => 'image_cropper_form', :remote => true) do |f| %> <%= f.hidden_field :crop_from %> <%= f.hidden_field :crop_size %> <%= hidden_field_tag 'content_id', @content.id %> <%= f.button t("save"), :class => 'button' %> <% end %> <div class="toolbar_spacer"></div> <div class="button_with_label"> <%= link_to(render_icon('delete-small'), '#', { :onclick => 'Alchemy.ImageCropper.reset()', :class => 'icon_button', :title => t('Reset Imagemask') }) %> <label><%= t("Reset Imagemask") %></label> </div> </div> <div id="crop_explain" class="tip"> <%= t('explain cropping') %> </div> <div id="jscropper"> <%= image_tag( alchemy.zoom_picture_path(:id => @essence_picture.picture.id, :name => @essence_picture.picture.urlname, :format => @options[:format], :sh => @essence_picture.picture.security_token), :id => 'imageToCrop', :onload => "Alchemy.ImageCropper.init( [#{@initial_box[:x1]}, #{@initial_box[:y1]}, #{@initial_box[:x2]}, #{@initial_box[:y2]}], #{@size_x}, #{@size_y}, [#{@default_box[:x1]}, #{@default_box[:y1]}, #{@default_box[:x2]}, #{@default_box[:y2]}], #{@ratio} );" ) %> </div> <%- end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alchemy_cms-2.4.beta2 | app/views/alchemy/admin/essence_pictures/crop.html.erb |