<%= error_messages_for(@media) %>
<%= form_for @media, :url => spud_admin_medium_path(@media) do |f| %>
<%= label_tag :x %> <%= f.text_field :crop_x %>
<%= label_tag :y %> <%= f.text_field :crop_y %>
<%= label_tag :width %> <%= f.text_field :crop_w %>
<%= label_tag :height %> <%= f.text_field :crop_h %>
<%= label_tag :scale, 'Size' %> <%= f.hidden_field :crop_s %>
<%= f.submit 'Crop', :id => 'spud_media_cropper_submit', :class => 'btn btn-mini btn-primary' %> <%= link_to "Don't Crop", spud_admin_media_path, :class => 'btn btn-mini' %>
<% end %>