=_('The URL to use for connecting to Elasticsearch. Use a comma-separated list to support clustering (e.g., "http://localhost:9200, http://localhost:9201").')
.form-group
=f.label:elasticsearch_shards,_('Number of Elasticsearch shards'),class: 'label-bold'
=_('If any indexed field exceeds this limit it will be truncated to this number of characters and the rest will not be indexed or searchable. This does not apply to repository and wiki indexing. Setting this to 0 means it is unlimited.')
=_("Unused, previous indices: %{index_names} will be deleted after %{time} automatically.")%{index_names: task.subtasks.map(&:index_name_from).join(', '),time: task.delete_original_index_at}
=link_to_('Cancel index deletion'),admin_elasticsearch_cancel_index_deletion_path(task_id: task.id),class: 'gl-mb-2',method: :post