Sha256: 8595704dc4ea0ebf635bcbadf8e74bcdbdb176d1fef05fdebd4e48c10b90dbe8

Contents?: true

Size: 1.87 KB

Versions: 6

Compression:

Stored size: 1.87 KB

Contents

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

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

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

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

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

    <div class="card my-4">
      <div class="card-divider">
        <h2 class="card-title"><%= t(".agenda_item_children") %></h2>
      </div>
      <div class="row column">
        <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_child: tabs_id_for_agenda_item_child(agenda_item_child), editable: true %>
              <% end %>
            <% end %>
          </div>
          <button class="button button__sm button__secondary add-agenda-item-child"><%= t(".add_agenda_item_child") %></button>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

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