X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/29e98571454a450f0af1e2649d1688c6f2afffdb..9cd96bd452415918be77d6d2094c021b652c9048:/app/views/user_blocks/edit.html.erb diff --git a/app/views/user_blocks/edit.html.erb b/app/views/user_blocks/edit.html.erb index 8c89c80f3..db7c5e057 100644 --- a/app/views/user_blocks/edit.html.erb +++ b/app/views/user_blocks/edit.html.erb @@ -15,8 +15,10 @@ <%= f.richtext_field :reason, :cols => 80, :rows => 20, :format => @user_block.reason_format %> <%= f.form_group do %> - <%= label_tag "user_block_period", t(".period") %>
- <%= select_tag("user_block_period", options_for_select(UserBlock::PERIODS.collect { |h| [block_duration_in_words(h.hours), h.to_s] }, params[:user_block_period])) %> + <%= label_tag "user_block_period", t(".period"), :class => "form-label" %> + <%= select_tag("user_block_period", + options_for_select(UserBlock::PERIODS.collect { |h| [block_duration_in_words(h.hours), h.to_s] }, params[:user_block_period]), + :class => "form-select") %> <% end %> <%= f.form_group :needs_view do %>