= link_to "Редактировать", id: "load_formForItem", data: {ajax_path: :getFormForEditItems}
$ ->
$('#load_formForItem').click ->
projects_path = $('#load_formForItem').data('ajax-path')
$.ajax projects_path,
type: 'POST'
dataType: 'script'