Sha256: 096211a1437fd6db64fb56ee03bd69bdec1c2e7235ecb6d15db26efa362edd4b

Contents?: true

Size: 859 Bytes

Versions: 5

Compression:

Stored size: 859 Bytes

Contents

<% content_for :doc_title, t('intro.admin.edit_tour') %>
<% content_for :box_class, 'intro-admin__box-tour' %>
<% content_for :box_title do %>
  <%= link_to admin_tours_path, class: 'intro-admin__box-title-arrow' do %>
    &#8249;
  <% end %>
  <%= t('intro.admin.edit_tour') %>
<% end %>
<% content_for :box_actions do %>
  <%= link_to t('intro.admin.delete_tour'), admin_tour_path(@tour), method: :delete, data: { confirm: t('intro.admin.tips.delete_tour_confirm') } %>
<% end %>
<% content_for :form_actions do %>
  <%= link_to (@tour.published? ? t('intro.admin.unpublish') : t('intro.admin.publish')), publish_admin_tour_path(@tour, published: !@tour.published), method: :put, class: 'intro-admin__button' %>
<% end %>

<%= render layout: 'intro/admin/tours/container' do %>
  <%= render 'intro/admin/tours/form', url: admin_tour_path(@tour) %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
intro-0.4.1 app/views/intro/admin/tours/edit.html.erb
intro-0.4.0 app/views/intro/admin/tours/edit.html.erb
intro-0.3.0 app/views/intro/admin/tours/edit.html.erb
intro-0.2.0 app/views/intro/admin/tours/edit.html.erb
intro-0.1.0 app/views/intro/admin/tours/edit.html.erb