= f.input :country,
label: t("heading.country"),
as: :string,
input_html: { value: @post.location.country.id,
class: 'select2',
data: { allowadd: true,
depth: 0,
title: @post.location.country.title,
url: search_locations_path } }
initSelection: (element, callback) ->
callback
id: $(element).val(),
title: $(element).data('title')