Sha256: b1c87402ea2b8ba6a98d95499209bc632febe6aeb718d3cce6914053db4906ef
Contents?: true
Size: 921 Bytes
Versions: 13
Compression:
Stored size: 921 Bytes
Contents
<div class="reveal flag-modal" id="flagModal" data-reveal> <div class="reveal__header"> <h3 class="reveal__title"><%= t('.title') %></h3> <button class="close-button" data-close aria-label="<%= t('.close') %>" type="button"> <span aria-hidden="true">×</span> </button> </div> <% if reportable.reported_by? current_user %> <p><%= t('.already_reported') %></p> <% else %> <p><%= t('.description') %></p> <%= decidim_form_for form, url: url, method: :post do |f| %> <%= f.collection_radio_buttons :reason, [[:spam, t('.spam')], [:offensive, t('.offensive')], [:does_not_belong, t('.does_not_belong', organization_name: current_organization.name)]], :first, :last do |builder| %> <%= builder.label { builder.radio_button + builder.text } %> <% end %> <%= f.text_area :details, rows: 4 %> <%= f.submit t(".report") %> <% end %> <% end %> </div>
Version data entries
13 entries across 13 versions & 1 rubygems