Sha256: 1869ba3c2e94442f8e82c9b124207dc71a42ebb92c22097e811e9103f280a1d2

Contents?: true

Size: 1.43 KB

Versions: 6

Compression:

Stored size: 1.43 KB

Contents

<% add_decidim_page_title(t(".title", name: user.name)) %>
<div class="item_show__header">
  <h1 class="item_show__header-title">
    <%= t(".title", name: user.name) %>
  </h1>
</div>

<div class="item__edit item__edit-1col">
  <div class="item__edit-form">
    <%= decidim_form_for(@form, url: user_block_path(user_id: user.id), method: :post, html: { class: "form-defaults form import_participatory_process" }) do |f| %>
      <div class="form__wrapper">
        <div class="card pt-4">
          <div class="card-section">
            <div class="row column">
              <%= t(".description") %>
            </div>

            <% if @form.hide %>
              <%= cell("decidim/announcement", t(".already_reported_html"), callout_class: "alert" ) %>
            <% end %>

            <% if defined?(Decidim::Templates) %>
              <%= render "decidim/templates/admin/block_user_templates/template_chooser", form: f %>
            <% end %>

            <div class="row column">
              <%= f.hidden_field :user_id %>
              <%= f.hidden_field :hide %>
              <%= f.text_area :justification, required: true, label: t(".justification") %>
            </div>
          </div>
        </div>
      </div>

      <div class="item__edit-sticky">
        <div class="item__edit-sticky-container">
          <%= f.submit t(".action"), class: "button button__sm button__secondary" %>
        </div>
      </div>
    <% end %>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-admin-0.29.0.rc4 app/views/decidim/admin/block_user/new.html.erb
decidim-admin-0.29.0.rc3 app/views/decidim/admin/block_user/new.html.erb
decidim-admin-0.29.0.rc2 app/views/decidim/admin/block_user/new.html.erb
decidim-admin-0.29.0.rc1 app/views/decidim/admin/block_user/new.html.erb
decidim-admin-0.28.2 app/views/decidim/admin/block_user/new.html.erb
decidim-admin-0.28.1 app/views/decidim/admin/block_user/new.html.erb