diff options
Diffstat (limited to 'app/views/page_translations/edit.html.erb')
| -rw-r--r-- | app/views/page_translations/edit.html.erb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/page_translations/edit.html.erb b/app/views/page_translations/edit.html.erb index 00bf221e..2b2ce137 100644 --- a/app/views/page_translations/edit.html.erb +++ b/app/views/page_translations/edit.html.erb | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | <%= link_to "Preview ↗", preview_page_path(@page, :locale => @locale), target: "_blank", rel: "noopener", class: "preview_link" %> | 19 | <%= link_to "Preview ↗", preview_page_path(@page, :locale => @locale), target: "_blank", rel: "noopener", class: "preview_link" %> |
| 20 | </div> | 20 | </div> |
| 21 | 21 | ||
| 22 | <div id="page_editor"> | 22 | <div id="admin_layout"> |
| 23 | <ul id="related_asset_list" style="display:none"> | 23 | <ul id="related_asset_list" style="display:none"> |
| 24 | <% @page.related_assets.includes(:asset).each do |related| %> | 24 | <% @page.related_assets.includes(:asset).each do |related| %> |
| 25 | <li data-large-url="<%= related.asset.upload.url(:large) %>" | 25 | <li data-large-url="<%= related.asset.upload.url(:large) %>" |
| @@ -32,17 +32,17 @@ | |||
| 32 | <%= form_with url: node_translation_path(@node, @locale), method: :patch, local: true, id: "translation_edit_form", | 32 | <%= form_with url: node_translation_path(@node, @locale), method: :patch, local: true, id: "translation_edit_form", |
| 33 | data: { autosave_url: autosave_node_translation_path(@node, @locale), show_url: node_path(@node) } do |f| %> | 33 | data: { autosave_url: autosave_node_translation_path(@node, @locale), show_url: node_path(@node) } do |f| %> |
| 34 | <div id="content"> | 34 | <div id="content"> |
| 35 | <div class="node_description">Title</div> | 35 | <div class="layout_row_label">Title</div> |
| 36 | <div class="node_content"> | 36 | <div class="layout_row_content"> |
| 37 | <%= text_field_tag "page[title]", @translation&.title %> | 37 | <%= text_field_tag "page[title]", @translation&.title %> |
| 38 | </div> | 38 | </div> |
| 39 | 39 | ||
| 40 | <div class="node_description">Abstract</div> | 40 | <div class="layout_row_label">Abstract</div> |
| 41 | <div class="node_content"> | 41 | <div class="layout_row_content"> |
| 42 | <%= text_area_tag "page[abstract]", @translation&.abstract %> | 42 | <%= text_area_tag "page[abstract]", @translation&.abstract %> |
| 43 | </div> | 43 | </div> |
| 44 | 44 | ||
| 45 | <div class="node_description">Body</div> | 45 | <div class="layout_row_label">Body</div> |
| 46 | <div class="body_toolbar_row"> | 46 | <div class="body_toolbar_row"> |
| 47 | <button type="button" id="preview_toggle" class="view_toggle" aria-pressed="false" aria-label="Toggle live preview" title="Toggle live preview"> | 47 | <button type="button" id="preview_toggle" class="view_toggle" aria-pressed="false" aria-label="Toggle live preview" title="Toggle live preview"> |
| 48 | <%= icon("layout-sidebar-right", library: "tabler", "aria-hidden": true) %> <span>Live preview</span> | 48 | <%= icon("layout-sidebar-right", library: "tabler", "aria-hidden": true) %> <span>Live preview</span> |
| @@ -54,7 +54,7 @@ | |||
| 54 | 54 | ||
| 55 | <div id="editor_and_preview"> | 55 | <div id="editor_and_preview"> |
| 56 | <div class="preview_content"> | 56 | <div class="preview_content"> |
| 57 | <div class="node_content"> | 57 | <div class="layout_row_content"> |
| 58 | <%= text_area_tag "page[body]", @translation&.body, :class => 'with_editor' %> | 58 | <%= text_area_tag "page[body]", @translation&.body, :class => 'with_editor' %> |
| 59 | </div> | 59 | </div> |
| 60 | </div> | 60 | </div> |
