Sha256: df1c2c41a7e092d47e7d5ecf2b9c0695f0e4f8118736702b4566a23ed099da74
Contents?: true
Size: 945 Bytes
Versions: 15
Compression:
Stored size: 945 Bytes
Contents
<ul class='crop_options'> <li>x: <input type='text' id='posx' name='node[crop][x]' size='4'/> y: <input type='text' id='posy' name='node[crop][y]' size='4'/> // w: <input type='text' id='width' name='node[crop][w]' size='4'/> h: <input type='text' id='height' name='node[crop][h]' size='4'/></li> <li><b><%= _('convert') + '</b> ' + crop_formats(node).join(' ') %></li> <li><b><%= _('max size') %></b> <input type='text' name='node[crop][max_value]' size='4' value='<%= fs = fsize(node.size); fs.to_f %>'/> <%= ['Kb', 'Mb'].inject('') {|r,e| r + "<input type='radio' name='node[crop][max_unit]' value='#{e}'#{fs =~ /#{e}/ ? " checked='checked'" : ''}/> #{e} " }%> </li> </ul> <p class='edit_info'><%= _('original') %> <%= node.width %>x<%= node.height %>, <%= _('original is #X this view').sub('#X', "<b>#{sprintf('%.1f', node.width.to_f / node.width(Iformat['edit']))}x</b>")%></p> <%= img_tag(node, :mode=>'edit', :id=>img_id) %>
Version data entries
15 entries across 15 versions & 1 rubygems