Skip to content
Snippets Groups Projects
Commit 91fc2c31 authored by Oleg Valter's avatar Oleg Valter
Browse files

made the character count selected in new_thread_modal unique

parent ed313d4f
No related branches found
No related tags found
No related merge requests found
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
required: true, required: true,
data: { post: post.id, data: { post: post.id,
thread: '-1', thread: '-1',
character_count: ".js-character-count-#{post.id}" } %> character_count: ".js-character-count-new-thread-#{post.id}" } %>
<%= render 'shared/char_count', type: post.id, min: min_chars, max: max_chars %> <%= render 'shared/char_count', type: "new-thread-#{post.id}", min: min_chars, max: max_chars %>
<%= label_tag :title, 'Comment thread title (optional)', class: 'form-element' %> <%= label_tag :title, 'Comment thread title (optional)', class: 'form-element' %>
<span class="form-caption"> <span class="form-caption">
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment