Sha256: 2ad1dc9c39233c8c01fc990740492e86425d1d432a9bd7261b399e8e793e5d4e
Contents?: true
Size: 1.44 KB
Versions: 15
Compression:
Stored size: 1.44 KB
Contents
<%= decidim_modal id: "editCommentModal#{model.id}" do %> <%= form_for(form_object, url: decidim_comments.comment_path(comment), method: :put, remote: true, html: { id: nil }) do |form| %> <div data-dialog-container> <%= icon "edit-line" %> <h2 class="h2" id="dialog-title-budget-confirm" data-dialog-title> <%= t("decidim.components.edit_comment_modal_form.title") %> </h2> <div class="form__wrapper gap-2"> <label class="text-gray-2" for="<%= form_id %>"> <%= t("decidim.components.edit_comment_modal_form.form.body.label") %> </label> <%= 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, class: "w-full rounded border min-h-[160px] border-text-gray-2", data: { remaining_characters: "##{form_id}-remaining-characters", input_emoji: true } ) %> </div> </div> <div data-dialog-actions> <button type="submit" data-dialog-close="editCommentModal<%= model.id %>" class="button button__sm md:button__lg button__secondary"> <%= t("decidim.components.edit_comment_modal_form.form.submit") %> </button> <span id="<%= form_id %>-remaining-characters" class="remaining-character-count"></span> </div> <% end %> <% end %>
Version data entries
15 entries across 15 versions & 1 rubygems