master
$('#task-modal').html("<%= j(render partial: '/tasks/modal_show', task: @task) %>"); $('#task-modal').modal('show');