Sha256: 764ec0f0a0cd538d839105ddadb8a0a59d17b46ec35e9195356ddd1b9edd081d
Contents?: true
Size: 692 Bytes
Versions: 10
Compression:
Stored size: 692 Bytes
Contents
<% if content_element.template? %> <h3><%= content_element.label %></h3> <% end %> <%= form_for content_element, html: ajax_form_hash(dom_target(content_element)), multipart: true, data: { server_endpoint: content_element_path(content_element) } do |f| %> <%= f.text_field :title, placeholder: 'Title' %> <%= render partial: "#{content_element.type}_fields", locals: { f: f, content_element: content_element } %> <%= submit_tag "Update" %> <%= link_to('Cancel', content_element_path(content_element), :class => 'button', data: { ajax_link: true, ajax_target: dom_target(content_element) } ) %> <% end %> <%= render 'pulitzer/shared/error_messages', object: content_element %>
Version data entries
10 entries across 10 versions & 1 rubygems