Sha256: 79fbc642a8780fc4988bd7cbe59c7959771fe6bcab9a173b1c40d874c3eef748

Contents?: true

Size: 1.36 KB

Versions: 11

Compression:

Stored size: 1.36 KB

Contents

<% content_for :secondary_nav do %>
  <div class="secondary-nav secondary-nav--subnav">
    <ul>
      <% if allowed_to? :update, :consultation, consultation: current_consultation %>
        <li <% if is_active_link?(decidim_admin_consultations.edit_consultation_path(current_consultation)) %> class="is-active" <% end %>>
          <%= aria_selected_link_to t("info", scope: "decidim.admin.menu.consultations_submenu"),
                                    decidim_admin_consultations.edit_consultation_path(current_consultation) %>
        </li>
      <% end %>

      <% if allowed_to? :read, :question %>
        <li <% if is_active_link?(decidim_admin_consultations.consultation_questions_path(current_consultation)) %> class="is-active" <% end %>>
          <%= aria_selected_link_to t("questions", scope: "decidim.admin.menu.consultations_submenu"),
                                    decidim_admin_consultations.consultation_questions_path(current_consultation) %>
        </li>
      <% end %>
    </ul>
  </div>
<% end %>

<%= render "layouts/decidim/admin/application" do %>
  <div class="process-title">
    <div class="process-title-content">
      <%= link_to translated_attribute(current_consultation.title), decidim_consultations.consultation_path(current_consultation), target: "_blank" %>
    </div>
  </div>

  <div class="process-content">
    <%= yield %>
  </div>
<% end %>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
decidim-consultations-0.14.4 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.14.3 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.14.2 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.14.1 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.13.1 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.12.2 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.13.0 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.12.1 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.13.0.pre1 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.12.0 app/views/layouts/decidim/admin/consultation.html.erb
decidim-consultations-0.12.0.pre app/views/layouts/decidim/admin/consultation.html.erb