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

Version Path
ecrire-0.31.2 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.31.1 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.31.0 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.30.3 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.30.2 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.30.1 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.30.0 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.29.0 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.28.3 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.28.2 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.28.1 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.28.0 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.27.0 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.26.3 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.26.2 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.26.1 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.26.0 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.25.2 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.25.1 lib/ecrire/app/views/admin/images/_form.html.erb
ecrire-0.25.0 lib/ecrire/app/views/admin/images/_form.html.erb