Sha256: a7cf36964cc7cd4b9f7d539c33ccabb677fb399650a0828b7b274daf9a340c6a
Contents?: true
Size: 1.81 KB
Versions: 1
Compression:
Stored size: 1.81 KB
Contents
<%= simple_form_for @revision, as: :revision, url: [@page.becomes(Georgia::Page), @revision], html: {class: 'form-with-helpers js-spin-and-roll js-revision-form'}, defaults: { input_html: { class: "form-control" } } do |f| %> <%= f.simple_fields_for :contents, @content do |c| %> <%= c.hidden_field :locale, data: {locale: current_locale} %> <header class='header-main'> <div class="header-gutter"> <%= link_to_back search_pages_path %> </div> <div class="header-title"> <h1> <%= link_to @content.title_or_none, '#', class: 'title-truncated' %> <%= icon_tag 'pencil' %> </h1> <%= c.input_field :title, class: 'input-md form-control', placeholder: 'Title' %> </div> <div class="header-actions"> <%= button_to_settings %> <%= button_to_save if policy(@revision).update? %> </div> </header> <section class="body-main"> <div class="row"> <div class="col-md-9"> <%= render partial: 'georgia/revisions/fields/message' %> <%= render partial: 'georgia/revisions/fields/content', locals: {f: c} %> <%= render partial: 'georgia/revisions/fields/template', locals: {f: f} %> <%= render partial: 'georgia/revisions/fields/slides', locals: {f: f} %> <%= render partial: 'georgia/revisions/fields/widgets', locals: {f: f} %> </div> <div class="col-md-3 body-sidebar"> <%= render 'georgia/revisions/panels/actions' %> <%= render 'georgia/revisions/panels/info' %> <%= render 'georgia/revisions/panels/drafts' %> <%= render 'georgia/revisions/panels/activities' %> </div> </div> </section> <% end -%> <% end %> <%= content_for :footer do %> <%= render 'georgia/shared/modals/media_library' %> <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
georgia-0.8.0 | app/views/georgia/revisions/edit.html.erb |