Sha256: f780b8a2806578687cc69f5148e7453480569034e6e48d3fab1a608a0f19cb09

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

<%= render 'pulitzer/shared/error_messages', object: style %>&nbsp;
<%= form_for style, html: ajax_form_hash(dom_target(style.post_type_content_element_type, :styles_list), insert_method: 'append', empty_on_success: dom_target(style.post_type_content_element_type, :new_style)) do |f| %>
  <%= f.hidden_field :post_type_content_element_type_id %>
  <div class="pulitzer-span one-fifth">
    <div class="pulitzer-row">
      <span class="pulitzer-span heading">
        display name &nbsp;
      </span>
      <span class="pulitzer-span one-half">
        <%= f.text_field :display_name %>
      </span>
    </div>
  </div>
  <div class="pulitzer-span">
    <div class="pulitzer-row">
      <span class="pulitzer-span heading">
        css class name &nbsp;
      </span>
      <span class="pulitzer-span one-half">
        <%= f.text_field :css_class_name %>
      </span>
    </div>
  </div>
  <div class="pulitzer-span one-fifth">
    <%= submit_tag "Create" %>
  </div>
<% end %>
  <a class="button" data-emptier="true" data-target="<%= dom_target(style.post_type_content_element_type, :new_style) %>">Close</a>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pulitzer-0.14.1 app/views/pulitzer/styles/_new.html.erb
pulitzer-0.14.0 app/views/pulitzer/styles/_new.html.erb