Sha256: e1ed1212cca4a578a12f77ecc5050481b99db6337d8eea664acbcba1ccbf9689

Contents?: true

Size: 1.33 KB

Versions: 1

Compression:

Stored size: 1.33 KB

Contents

<% if participatory_space.admins.exists?(id: current_user.id) %>
  <div class="bg-feeds-bg p-2 rounded-md flex flex-col">
      <div class="toggle__switch-trigger p-2">
        <%= form.label :highlighted, '', class: 'toggle__switch-toggle' do %>
          <span>
            <%= form.check_box :highlighted, label: false %>
            <span class="toggle__switch-toggle-content"></span>
            <%= icon "check-line", class: "toggle__switch-toggle-icon" %>
            <%= icon "close-line", class: "toggle__switch-toggle-icon" %>
          </span>
          <span class="toggle__switch-trigger-text pl-2 font-bold">
            <%= t("decidim.components.posts.newFeed.highlighted") %>
          </span>
        <% end %>
      </div>
      <div class="toggle__switch-trigger p-2">
        <%= form.label :fixed, '', class: 'toggle__switch-toggle' do %>
          <span>
            <%= form.check_box :fixed, label: false %>
            <span class="toggle__switch-toggle-content"></span>
            <%= icon "check-line", class: "toggle__switch-toggle-icon" %>
            <%= icon "close-line", class: "toggle__switch-toggle-icon" %>
          </span>
          <span class="toggle__switch-trigger-text pl-2 font-bold">
            <%= t("decidim.components.posts.newFeed.fixed") %>
          </span>
        <% end %>
      </div>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-posts-1.0.0 app/views/decidim/posts/posts/_admin_options.html.erb