% title @job_invocation.job_name %>
<% stylesheet 'job_invocations' %>
<% javascript 'template_invocation' %>
<% if @job_invocation.task %>
<% title_actions(button_group(job_invocation_task_buttons(@job_invocation.task))) %>
<% end %>
<%= render 'tab_overview', :job_invocation => @job_invocation %>
<%= render 'tab_hosts', :job_invocation => @job_invocation, :hosts => @hosts %>
<% unless @job_invocation.recurring_logic.nil? %>
<% if @job_invocation.recurring_logic.try(:task_group) %>
<%= render @job_invocation.recurring_logic.task_group, :task_group => @job_invocation.recurring_logic.try(:task_group) %>
<% end %>
<% end %>