Sha256: 1dfccea4f5de090267a70a9c8e0be7306919454f13e2ccc2f3fd099b35789a9c

Contents?: true

Size: 1.68 KB

Versions: 1

Compression:

Stored size: 1.68 KB

Contents

<main class="feeds__main home">
  <!-- This is the sidebar that appears on the right side of the page -->
  <%= render partial: "decidim/posts/posts/sidebar" %>
  <div class="feeds__container">
    <div class="feeds__body">
      <div class="card__grid-home w-full lg:grid-cols-8 xl:grid-cols-12 gap-6">
      <div class="card__grid posts__post p-2" data-content="<%= @post.category %>">
        <%= render "edit_form" %>
      </div>
    </div>
    

    <dialog id="confirmationModal" class="p-4 shadow-md rounded-md ring-1 ring-feeds-host" aria-labelledby="confirmationModal__Label">
      <div class="flex flex-col gap-4">
        <h2 id="confirmationModal__Label" class="text-center text-lg font-bold">Meldungsstatus ändern</h2>
        <p class="confirmationModal__response" aria-live="assertive">Das Status der Meldung wird geändert und die Kommentarfunktion geschlossen.</p>
        <div class="confirmationModal__buttons flex p-4 gap-4 justify-center">
          <button id="confirmationModal__confirmButton" class="button button__sm button__transparent-primary">
            <%= t('decidim.posts.posts.host.status.confirm') %>
            <%= icon('check-line') %>
          </button>
          <button id="confirmationModal__cancelButton" class="button button__sm button__transparent-primary">
            <%= t('decidim.posts.posts.host.status.cancel') %>
            <%= icon('close-line') %>
          </button>
        </div>
      </div>
    </dialog>
    <!-- In case the Module Decidim FeedsUi is present, the form will be installed in the footer of the application -->
    <% unless defined?(Decidim::FeedsUi) %>
      <%= append_javascript_pack_tag "decidim_feeds" %>
    <% end %>
  </div>
</main>

Version data entries

1 entries across 1 versions & 1 rubygems

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