Sha256: de0c3b55c23ffe1feb0ed98150c5fc33d8b27a94327bbc2ba04b5fd1d79f3e46
Contents?: true
Size: 1.11 KB
Versions: 31
Compression:
Stored size: 1.11 KB
Contents
<%= form_for(form_object, url: decidim_comments.comments_path(order: order), method: :post, remote: true, html: { id: form_id }) do |form| %> <%= form.hidden_field :commentable_gid, id: nil %> <%= form.hidden_field :alignment, id: nil, class: "alignment-input" %> <%= comment_as_for(form) %> <div class="field"> <label class="show-for-sr" for="<%= add_comment_id %>"> <%= t("decidim.components.add_comment_form.form.body.label") %> </label> <div class="hashtags__container"> <%= form.text_area( :body, id: add_comment_id, rows: 4, maxlength: comments_max_length, required: true, placeholder: t("decidim.components.add_comment_form.form.body.placeholder"), label: false, data: { remaining_characters: "##{add_comment_id}-remaining-characters", input_emoji: true } ) %> </div> <button type="submit" class="button button--sc" disabled="disabled"><%= t("decidim.components.add_comment_form.form.submit") %></button> <span id="<%= add_comment_id %>-remaining-characters" class="remaining-character-count"></span> </div> <% end %>
Version data entries
31 entries across 31 versions & 1 rubygems