Sha256: f79e69b37a434818fd2e060109bf6760121a1db87c3837397131a3dc7cdd5fd8

Contents?: true

Size: 1.57 KB

Versions: 26

Compression:

Stored size: 1.57 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="sidebar_footer_container"></div>
</sidebar>

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

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

<%= form_tag '#', :multipart => true, :id => 'upload' do %>
  <%= file_field_tag :file, :multiple => true %>
<% 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

26 entries across 26 versions & 1 rubygems

Version Path
pageflow-14.5.2 app/views/pageflow/entries/edit.html.erb
pageflow-15.1.0.beta2 app/views/pageflow/entries/edit.html.erb
pageflow-15.1.0.beta1 app/views/pageflow/entries/edit.html.erb
pageflow-15.0.2 app/views/pageflow/entries/edit.html.erb
pageflow-15.0.1 app/views/pageflow/entries/edit.html.erb
pageflow-15.0.0 app/views/pageflow/entries/edit.html.erb
pageflow-14.5.1 app/views/pageflow/entries/edit.html.erb
pageflow-14.5.0 app/views/pageflow/entries/edit.html.erb
pageflow-15.0.0.rc2 app/views/pageflow/entries/edit.html.erb
pageflow-15.0.0.rc1 app/views/pageflow/entries/edit.html.erb
pageflow-15.0.0.beta4 app/views/pageflow/entries/edit.html.erb
pageflow-15.0.0.beta3 app/views/pageflow/entries/edit.html.erb
pageflow-14.4.0 app/views/pageflow/entries/edit.html.erb
pageflow-15.0.0.beta2 app/views/pageflow/entries/edit.html.erb
pageflow-15.0.0.beta1 app/views/pageflow/entries/edit.html.erb
pageflow-14.3.0 app/views/pageflow/entries/edit.html.erb
pageflow-14.2.1 app/views/pageflow/entries/edit.html.erb
pageflow-14.2.0 app/views/pageflow/entries/edit.html.erb
pageflow-14.1.1 app/views/pageflow/entries/edit.html.erb
pageflow-14.1.0 app/views/pageflow/entries/edit.html.erb