<% if jour.size >0 %> <% remove_allowed = (User.current.id == jour.first.user_id) %> <% end %>