% stylesheet 'foreman_tasks/tasks' %> <%= breadcrumbs( items: [ { caption: _('Tasks'), url: url_for(foreman_tasks_tasks_path) }, { caption: truncate(format_task_input(@task), :length => 50) } ], name_field: 'action', resource_url: foreman_tasks_api_tasks_path, switcher_item_url: foreman_tasks_task_path(:id => ':id') ) %>