Sha256: b1bec9fc978f339a169954fdfe57c496a4e4b79288ae34895d80562e282eb5c9

Contents?: true

Size: 826 Bytes

Versions: 4

Compression:

Stored size: 826 Bytes

Contents

<%= upload_field(:type => :onclick) %>

<%= @node.c_version_id == @node.v_id ? "<b id='original_caution'>#{_('you are editing the original')}</b>" : "" %>

<% if !ImageBuilder.dummy? %>
<label for="c_crop_x"><%= _("image")  %></label>
<div id="crop" class='toggle_div'>
  <div class='img_left'><%= link_to_remote(img_tag(@node,:mode=>'pv'), :url => crop_form_document_path(@node[:zip]), :method => :get) %></div>
  <ul class='infos'>
    <li><%= link_to_remote(_("crop/resize"), :url => crop_form_document_path(@node[:zip]), :method => :get) %></li>
    <li><%= _('original') %> <%= @node.version.content.width %>px / <%= @node.version.content.height %>px</li>
    <li><%= _('size') %> <%= fsize(@node.version.content.size) %></li>
  </ul>
</div>

<div id="crop_form" class='toggle_div' style='display:none;'></div>
<% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
zena-0.16.3 app/views/templates/edit_tabs/_image.rhtml
zena-0.16.2 app/views/templates/edit_tabs/_image.rhtml
zena-0.16.1 app/views/templates/edit_tabs/_image.rhtml
zena-0.16.0 app/views/templates/edit_tabs/_image.rhtml