Sha256: 683802aa96e7e668998c8c9af14910603b45fb5ee9c4fde7a25ad47f7ab4df1f

Contents?: true

Size: 1.17 KB

Versions: 7

Compression:

Stored size: 1.17 KB

Contents

<div>
  <span class="comment__opinion-label"><%= t("decidim.components.add_comment_form.opinion.label") %></span>
  <div class="opinion-toggle comment__opinion-container">
    <button type="button" aria-pressed="false" class="opinion-toggle--ok" data-selected-label="<%= t("decidim.components.add_comment_form.opinion.positive_selected") %>">
      <span><%= t("decidim.components.comment.alignment.in_favor") %></span>
      <%= icon "thumb-up-line" %>
    </button>
    <button type="button" aria-pressed="true" class="opinion-toggle--meh is-active" data-selected-label="<%= t("decidim.components.add_comment_form.opinion.neutral_selected") %>">
      <span><%= t("decidim.components.add_comment_form.opinion.neutral") %></span>
      <%= icon "loader-3-line" %>
    </button>
    <button type="button" aria-pressed="false" class="opinion-toggle--ko" data-selected-label="<%= t("decidim.components.add_comment_form.opinion.negative_selected") %>">
      <span><%= t("decidim.components.comment.alignment.against") %></span>
      <%= icon "thumb-down-line" %>
    </button>
    <div role="alert" aria-live="assertive" aria-atomic="true" class="selected-state sr-only"></div>
  </div>
</div>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-comments-0.28.4 app/cells/decidim/comments/comment_form/opinion.erb
decidim-comments-0.28.3 app/cells/decidim/comments/comment_form/opinion.erb
decidim-comments-0.28.2 app/cells/decidim/comments/comment_form/opinion.erb
decidim-comments-0.28.1 app/cells/decidim/comments/comment_form/opinion.erb
decidim-comments-0.28.0 app/cells/decidim/comments/comment_form/opinion.erb
decidim-comments-0.28.0.rc5 app/cells/decidim/comments/comment_form/opinion.erb
decidim-comments-0.28.0.rc4 app/cells/decidim/comments/comment_form/opinion.erb