$("#form_hardware_event_modal").remove();
$(".dinamic-content").append('<%= escape_javascript(render partial: 'form') %>');
$("#form_hardware_event_modal").modal({backdrop: 'static', keyboard: false})
