Sha256: a689bb9050e81c8268e924ca1f920306140ef6c1f972f3f637c063196bf7b4b7

Contents?: true

Size: 496 Bytes

Versions: 2

Compression:

Stored size: 496 Bytes

Contents

<h3><%= t("new_image") %></h3>

<%= form_for(@post_image, :url => admin_post_images_path(@post), :html => { :multipart => true }) do |form| %>
  <%= render "form", :form => form %>
  <p class="form-buttons">
    <%= button t("create") %>
    or <%= link_to t("cancel"), "#", :id => "cancel_link" %>
  </p>
<% end %>

<script type="text/javascript">    
  jQuery('#cancel_link').click(function (event) { 
    jQuery('#new_image_link').show();
    jQuery('#images').html('');
  }); 
</script>

 
 

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_essential_blog-0.1.0 app/views/blog/admin/post_images/new.html.erb
spree_essential_blog-0.1.0.rc1 app/views/blog/admin/post_images/new.html.erb