Sha256: 0a53f5cba0c7b5582a4688eb5a9c5fa4f872ca0609f1dd44a8c3f94e9f0fa2a8
Contents?: true
Size: 1.83 KB
Versions: 10
Compression:
Stored size: 1.83 KB
Contents
<div class="add-comment"> <h5 class="section-heading"><%= t("decidim.components.add_comment_form.title") %></h5> <% 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
10 entries across 10 versions & 1 rubygems