Sha256: 1404ebdee471517f64aaddb2d4076b8a07463387740751cc7702fba888c297a6

Contents?: true

Size: 596 Bytes

Versions: 4

Compression:

Stored size: 596 Bytes

Contents

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

<%= render 'shared/error_messages', :target => @page_image %>

<%= form_for(@page_image, :url => admin_page_images_path(@page), :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_image_link').show();
    jQuery('#images').html('');
  }); 
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spree_essential_cms-0.1.2 app/views/admin/page_images/new.html.erb
spree_essential_cms-0.2.1 app/views/admin/page_images/new.html.erb
spree_essential_cms-0.2.0 app/views/admin/page_images/new.html.erb
spree_essential_cms-0.1.0 app/views/admin/page_images/new.html.erb