Sha256: 603739c338be76642e7411861d9ee330f402e47b5f1888ead67dd2ff99a5407b

Contents?: true

Size: 1.57 KB

Versions: 6

Compression:

Stored size: 1.57 KB

Contents

<% add_decidim_meta_tags({
                           title: present(meeting).title,
                           description: present(meeting).description,
                           url: meeting_url(meeting.id)
                         }) %>

<%= append_javascript_pack_tag "decidim_meetings" %>
<%= append_stylesheet_pack_tag "decidim_meetings" %>
<%= append_javascript_pack_tag "decidim_forms" %>

<% add_body_classes "meeting-poll__layout" %>

<%= render layout: "layouts/decidim/shared/layout_center" do %>
  <div class="meeting-polls__topbar is-admin">
    <%= link_to meeting_path(meeting), class: "button button__sm button__text md:button__text-secondary" do %>
      <%= icon "arrow-left-line" %>
      <%= t("back_to_meeting", scope: "decidim.meetings.polls.answers.index_admin") %>
    <% end %>

    <%= action_authorized_link_to :reply_poll, meeting_polls_answers_path(meeting), class: "button button__sm button__secondary", data: { "redirect_url" => meeting_polls_answers_path(meeting) }, resource: meeting do %>
      <%= t("view_poll", scope: "decidim.meetings.polls.answers.index_admin") %>
    <% end %>
  </div>

  <div class="text-center">
    <h1 class="title-decorator inline-block text-left">
      <%= t("title", scope: "decidim.meetings.polls.answers.index_admin") %>
    </h1>
  </div>

  <div class="meeting-polls" id="admin-meeting-poll" data-decidim-admin-meetings-poll='{"questionsUrl":"<%= meeting_polls_questions_path(meeting, admin: true) %>"}'>
    <%= render partial: "decidim/meetings/polls/questions/index_admin", locals: { open_question: nil } %>
  </div>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-meetings-0.29.1 app/views/decidim/meetings/polls/answers/admin.html.erb
decidim-meetings-0.29.0 app/views/decidim/meetings/polls/answers/admin.html.erb
decidim-meetings-0.29.0.rc4 app/views/decidim/meetings/polls/answers/admin.html.erb
decidim-meetings-0.29.0.rc3 app/views/decidim/meetings/polls/answers/admin.html.erb
decidim-meetings-0.29.0.rc2 app/views/decidim/meetings/polls/answers/admin.html.erb
decidim-meetings-0.29.0.rc1 app/views/decidim/meetings/polls/answers/admin.html.erb