X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0c79686f3cef86330d0ab6bbef2a9e2275ac93ac..90ac07d071ed8dbfdea6214419e1b5205a529b2f:/app/views/user_blocks/new.html.erb diff --git a/app/views/user_blocks/new.html.erb b/app/views/user_blocks/new.html.erb index c92fe74ec..aa4bf7132 100644 --- a/app/views/user_blocks/new.html.erb +++ b/app/views/user_blocks/new.html.erb @@ -13,7 +13,7 @@
<%= label_tag "user_block_period", t(".period") %>
- <%= select_tag("user_block_period", options_for_select(UserBlock::PERIODS.collect { |h| [t("user_blocks.period", :count => h), h.to_s] }, params[:user_block_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])) %>
<%= f.check_box :needs_view %>