@@ -6,17 +6,17 @@
|
||||
|
||||
<%= f.submit comment_button_text(parent), class: "button radius small inline-block" %>
|
||||
|
||||
<!-- if user is moderator
|
||||
<div class="right">
|
||||
<%#= f.check_box :, label: false %>
|
||||
<%#= f.label :, t("comments.form.comment_as_moderator"), class: "checkbox" %>
|
||||
</div>
|
||||
end -->
|
||||
<!-- if user is admin
|
||||
<div class="right">
|
||||
<%#= f.check_box :, label: false %>
|
||||
<%#= f.label :, t("comments.form.comment_as_admin"), class: "checkbox" %>
|
||||
</div>
|
||||
end -->
|
||||
<% if can? :comment_as_moderator, @debate %>
|
||||
<div class="right">
|
||||
<%= f.check_box :as_moderator, label: false %>
|
||||
<%= f.label :as_moderator, t("comments.form.comment_as_moderator"), class: "checkbox" %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% if can? :comment_as_administrator, @debate %>
|
||||
<div class="right">
|
||||
<%= f.check_box :as_administrator, label: false %>
|
||||
<%= f.label :as_administrator, t("comments.form.comment_as_admin"), class: "checkbox" %>
|
||||
</div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user