Files
grecia/app/views/admin/emails_download/index.html.erb
Javi Martín 629e208e9d Add and apply ArgumentAlignment rubocop rule
We're choosing the default `with_first_argument` style because it's the
one we use the most.
2023-08-18 14:56:16 +02:00

20 lines
711 B
Plaintext

<h2 class="inline-block"><%= t("admin.emails_download.index.title") %></h2>
<div class="small-6">
<%= form_tag generate_csv_admin_emails_download_index_path,
method: :get,
id: "admin_download_emails" do %>
<label><%= t("admin.emails_download.index.download_segment") %></label>
<p class="help-text" id="emails-help-text">
<%= t("admin.emails_download.index.download_segment_help_text") %>
</p>
<%= select_tag :users_segment, options_for_select(user_segments_options) %>
<%= submit_tag t("admin.emails_download.index.download_emails_button"),
class: "button",
data: { disable_with: false } %>
<% end %>
</div>