Sha256: 52d29e2efb8dd91ac70d99f0ac4fc9c45df9bf4a16ee5076f9bdd31db22e124a
Contents?: true
Size: 458 Bytes
Versions: 26
Compression:
Stored size: 458 Bytes
Contents
<%= form_for post.header, url: admin_post_image_path(post), as: :image, html: {class: %w(update)} do |f| %> <div class='drop zone'> </div> <p>You can drop an image here to set a header image for this post.</p> <%= f.file_field :file %> <% end %> <%= form_for post.header, url: admin_post_image_path(post), remote: true, method: :delete, html: {class: %w(clear)} do |f| %> Do you want to remove this header? <%= f.button 'Remove' %> <% end %>
Version data entries
26 entries across 26 versions & 1 rubygems