Sha256: f3d305daf85fb48f3929ad78c4fd455eb4e5c2e87f375acbf3c6afdddd225a91

Contents?: true

Size: 1.54 KB

Versions: 23

Compression:

Stored size: 1.54 KB

Contents

<div class="reveal edit-comment-modal" id="<%= "editCommentModal#{model.id}" %>" data-reveal role="dialog" aria-modal="true" aria-labelledby="<%= "editCommentModal#{model.id}" %>-label">
  <div class="reveal__header">
    <h3 id="<%= "editCommentModal#{model.id}" %>-label" class="reveal__title"><%= t("decidim.components.edit_comment_modal_form.title") %></h3>
    <button class="close-button" data-close aria-label="<%= t("decidim.components.edit_comment_modal_form.close") %>" type="button">
      <span aria-hidden="true">&times;</span>
    </button>
  </div>
  <%= form_for(form_object, url: decidim_comments.comment_path(comment), method: :put, remote: true, html: { id: form_id }) do |form| %>
    <div class="field">
      <label class="show-for-sr" for="<%= form_id %>">
        <%= t("decidim.components.edit_comment_modal_form.form.body.label") %>
      </label>
      <div class="hashtags__container">
        <%= form.text_area(
          :body,
          id: form_id,
          rows: 4,
          maxlength: comments_max_length,
          required: true,
          placeholder: t("decidim.components.edit_comment_modal_form.form.body.placeholder"),
          label: false,
          data: { remaining_characters: "##{form_id}-remaining-characters", input_emoji: true }
        ) %>
      </div>
      <button type="submit" data-close class="button button--sc"><%= t("decidim.components.edit_comment_modal_form.form.submit") %></button>
      <span id="<%= form_id %>-remaining-characters" class="remaining-character-count"></span>
    </div>
  <% end %>
</div>

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
decidim-comments-0.27.9 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.8 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.7 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.6 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.26.10 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.26.9 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.5 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.26.8 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.4 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.3 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.26.7 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.26.5 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.2 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.1 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.26.4 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.0 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.26.3 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.0.rc2 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.27.0.rc1 app/cells/decidim/comments/edit_comment_modal_form/show.erb
decidim-comments-0.26.2 app/cells/decidim/comments/edit_comment_modal_form/show.erb