Sha256: 5d66049faa874d49ad4d33410f4a14b1b468ce2ecdce0d62945ab4a8bfaa5cb4
Contents?: true
Size: 526 Bytes
Versions: 5
Compression:
Stored size: 526 Bytes
Contents
<%= form_for ptcet, html: ajax_form_hash("#post_type_content_element_types_container_#{dom_id(ptcet.post_type)}", insert_method: 'append', sub_class: "AddALineForm", container: "#new_post_type_content_element_type_#{dom_id(ptcet.post_type)}") do |f| %> <%= render partial: 'form_fields', locals: { f: f, ptcet: ptcet } %> <%= f.submit "Content element" %> <%= link_to('Cancel', '#', :class => 'button', data: { emptier: true, target: "#new_post_type_content_element_type_#{dom_id(ptcet.post_type)}" } ) %> <% end %>
Version data entries
5 entries across 5 versions & 1 rubygems