Sha256: f501870f2c568951fcfef1b44001eef1164ea393d394980c25eb8cfbb2e6dfd1
Contents?: true
Size: 984 Bytes
Versions: 19
Compression:
Stored size: 984 Bytes
Contents
<div class="pulitzer-row margin-bottom list-item"> <% if Pulitzer.skip_metadata_auth? || self.instance_eval(&Pulitzer.metadata_closure) %> <%= ajax_link "add a new #{@post_type_kind}", new_post_type_path(post_type: {kind: @post_type_kind}), {}, "#new_#{@post_type_kind}" %> <div class="pulitzer-span right"> <div class="pulitzer-row bold margin-bottom">Import New <%= @post_type_kind.humanize %> from JSON file</div> <div class="pulitzer-row"> <%= form_tag import_post_types_path, ajax_form_hash("##{@post_type_kind}s_container", insert_method: 'append').merge( multipart: true ) do %> <%= file_field_tag :import_json %> <%= submit_tag 'Import' %> <% end %> </div> </div> <% end %> <div id="new_<%= @post_type_kind %>"></div> </div> <div id="<%= @post_type_kind %>s_container"> <% @post_types.each do |post_type| %> <%= render partial: 'show_wrapper', locals: {post_type: post_type} %> <% end %> </div>
Version data entries
19 entries across 19 versions & 1 rubygems