Sha256: f6857983566f46ec0899e572b923d302fb8b9c536f0c8dd2230895a93d0c382d

Contents?: true

Size: 1.68 KB

Versions: 12

Compression:

Stored size: 1.68 KB

Contents

<% @editor_scope = true %>

<% content_for(:head) do %>
    <%= stylesheet_link_tag('pageflow/application_with_simulated_media_queries', media: 'all', 'data-turbolinks-track' => true) %>
    <%= entry_theme_stylesheet_link_tag(@entry) %>
    <%= entry_stylesheet_link_tag(@entry) %>
    <%= stylesheet_link_tag 'pageflow/editor', media: "all" %>
    <%= javascript_include_tag 'pageflow/editor' %>
<% end %>

<main class="ui-layout-center">
  <%= content_tag(:div, '', id: 'entry_preview', dir: text_direction(@entry.locale)) %>
  <div id="main_content"></div>
  <div id="editor_indicators"></div>
</main>

<sidebar class="ui-layout-east editor">
  <div class="scrolling">
    <div class="notifications_container"></div>
    <div class="container"></div>
  </div>
  <div class="help_button_container"></div>
</sidebar>

<div class="dialog_container">
</div>

<div class="editor" id="editor_menu_container">
</div>

<%= form_for editor_entry_files_path(@entry, collection_name: 'image_files'), :html => {:multipart => true, :id => 'upload'} do |f| %>
  <%= f.file_field :attachment, :multiple => true, :name => 'image_file[attachment]' %>
<% end %>

<script>
  I18n.defaultLocale = "<%= I18n.default_locale %>";
  I18n.locale = "<%= I18n.locale %>";
  I18n.fallbacks = true;

  pageflow.startEditor({entryId: <%= @entry.id %>})
</script>

<% I18n.with_locale(@entry.locale) do %>
  <%= page_type_templates(@entry) %>
  <%= render('pageflow/editor/entries/indicators_seed', theme: @entry.theme) %>
<% end %>

<%= render('pageflow/editor/entries/help_entries_seed', config: @entry_config) %>

<%= render('pageflow/editor/entries/analytics', entry: @entry) %>
<%= render('pageflow/editor/entries/unsupported_browser_hint') %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
pageflow-12.6.0 app/views/pageflow/entries/edit.html.erb
pageflow-12.5.0 app/views/pageflow/entries/edit.html.erb
pageflow-12.4.1 app/views/pageflow/entries/edit.html.erb
pageflow-12.4.0 app/views/pageflow/entries/edit.html.erb
pageflow-12.3.0 app/views/pageflow/entries/edit.html.erb
pageflow-13.0.0.beta6 app/views/pageflow/entries/edit.html.erb
pageflow-13.0.0.beta5 app/views/pageflow/entries/edit.html.erb
pageflow-13.0.0.beta4 app/views/pageflow/entries/edit.html.erb
pageflow-13.0.0.beta3 app/views/pageflow/entries/edit.html.erb
pageflow-13.0.0.beta2 app/views/pageflow/entries/edit.html.erb
pageflow-13.0.0.beta1 app/views/pageflow/entries/edit.html.erb
pageflow-12.2.0 app/views/pageflow/entries/edit.html.erb