<div class="alert alert--danger hidden" role="alert"></div>
<fieldset>

  <h1><%- @T('Wall') %></h1>
  <p class="description"><%- @T('Choose which group %s will get added to.', 'wall postings') %></p>
  <div class="js-wall">
    <h2><%= @channel.options.user.name %></h2>
    <div data-page-id="<%= @channel.options.user.id %>" class="js-groups"></div>
  </div>

  <hr>

  <h1><%- @T('Pages') %></h1>
  <p class="description"><%- @T('Choose which group %s will get added to.', 'page postings') %></p>
  <div class="js-pages">
    <% if @channel.options.pages: %>
      <% for page in @channel.options.pages: %>
        <h2><%= page.name %></h2>
        <div data-page-id="<%= page.id %>" class="js-groups"></div>
      <% end %>
    <% end %>
  </div>

</fieldset>