Sha256: 45a78f6a896346954d68c77ea5705e3c7f17a3377f91b367020e6e5fe3a6418c
Contents?: true
Size: 1.83 KB
Versions: 21
Compression:
Stored size: 1.83 KB
Contents
<div class="add-comment"> <h4 class="section-heading"><%= t("decidim.components.add_comment_form.title") %></h4> <% if user_signed_in? %> <% if alignment_enabled? %> <div class="opinion-toggle button-group"> <span class="show-for-sr"><%= t("decidim.components.add_comment_form.opinion.label") %></span> <button aria-pressed="false" class="button tiny button--muted opinion-toggle--ok" data-selected-label="<%= t("decidim.components.add_comment_form.opinion.positive_selected") %>"> <%= icon "thumb-up", role: "img", "aria-hidden": true %> <span class="show-for-sr"><%= t("decidim.components.add_comment_form.opinion.positive") %></span> </button> <button aria-pressed="true" class="button tiny button--muted opinion-toggle--meh is-active" data-selected-label="<%= t("decidim.components.add_comment_form.opinion.neutral_selected") %>"> <%= t("decidim.components.add_comment_form.opinion.neutral") %> </button> <button aria-pressed="false" class="button tiny button--muted opinion-toggle--ko" data-selected-label="<%= t("decidim.components.add_comment_form.opinion.negative_selected") %>"> <%= icon "thumb-down", role: "img", "aria-hidden": true %> <span class="show-for-sr"><%= t("decidim.components.add_comment_form.opinion.negative") %></span> </button> <div role="alert" aria-live="assertive" aria-atomic="true" class="selected-state show-for-sr"></div> </div> <% end %> <%== cell("decidim/comments/comment_form", model, root_depth: root_depth) %> <% else %> <p> <span> <%== t( "decidim.components.add_comment_form.account_message", sign_in_url: decidim.new_user_session_path, sign_up_url: decidim.new_user_registration_path ) %> </span> </p> <% end %> </div>
Version data entries
21 entries across 21 versions & 1 rubygems