Sha256: fa0dfd9abfc8b8c0f2129f8defa37b69369ef9d09368bf673371da9c8afbf8cf

Contents?: true

Size: 548 Bytes

Versions: 2

Compression:

Stored size: 548 Bytes

Contents

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

<% form_for(@post_product, :url => admin_post_products_path(@post), :html => { :multipart => true }) do |form| %>
  <table class="basic-table">
    <%= render "form", :form => form %>
  </table>
  <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_product_link').show();
    jQuery('#products').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_products/new.html.erb
spree_essential_blog-0.1.0.rc1 app/views/blog/admin/post_products/new.html.erb