Sha256: e3416fa76c7245e5e9e4b9c659b2a301f0400b271fc0bc640ce96d44e5c53cb6

Contents?: true

Size: 1.75 KB

Versions: 53

Compression:

Stored size: 1.75 KB

Contents

<% agenda_item = form.object %>
<div class="card meeting-agenda-item" id="<%= tabs_id %>-field">
  <div class="card-divider agenda-item-divider">
    <h2 class="card-title">
      <span>
        <%== "#{icon("move")} #{t(".agenda_item")}" %>
      </span>

      <button class="button small alert hollow move-up-agenda-item button--title">
        <%== "#{icon("arrow-top")} #{t(".up")}" %>
      </button>

      <button class="button small alert hollow move-down-agenda-item button--title">
        <%== "#{icon("arrow-bottom")} #{t(".down")}" %>
      </button>

      <button class="button small alert hollow remove-agenda-item button--title">
        <%= t(".remove") %>
      </button>
    </h2>
  </div>

  <div class="card-section">
    <%= render "agenda_item_fields", tabs_id: tabs_id, form: form, agenda_item: agenda_item %>

    <div class="card">
      <div class="card-divider">
        <h2 class="card-title"><%= t(".agenda_item_children") %></h2>
      </div>
      <div class="card-section">
        <div class="meeting-agenda-item-childs" data-template="<%= child_template_selector %>">
          <div class="meeting-agenda-item-childs-list">
            <% agenda_item.agenda_item_children.each do |agenda_item_child| %>
              <%= fields_for "meeting_agenda[agenda_items][#{agenda_item.to_param}][agenda_item_children][]", agenda_item_child do |agenda_item_child_form| %>
                <%= render "agenda_item_child", form: agenda_item_child_form, tabs_id: tabs_id, tabs_id_child: tabs_id_for_agenda_item_child(agenda_item_child), editable: true %>
              <% end %>
            <% end %>
          </div>
          <button class="button add-agenda-item-child"><%= t(".add_agenda_item_child") %></button>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
decidim-meetings-0.27.9 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.8 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.7 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.6 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.26.10 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.26.9 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.5 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.26.8 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.4 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.3 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.26.7 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.26.5 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.2 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.1 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.26.4 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.0 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.26.3 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.0.rc2 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.27.0.rc1 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb
decidim-meetings-0.26.2 app/views/decidim/meetings/admin/agenda/_agenda_item.html.erb