<% if @scenario.description.present? %>
<%= markdown(@scenario.description) %>
<% end %> <%= render 'agents/table', :returnTo => scenario_path(@scenario) %>
<%= link_to ' Back'.html_safe, scenarios_path, class: "btn btn-default" %> <%= link_to ' View Diagram'.html_safe, scenario_diagram_path(@scenario), class: "btn btn-default" %> <%= link_to ' Edit'.html_safe, edit_scenario_path(@scenario), class: "btn btn-default" %> <% if @scenario.source_url.present? %> <%= link_to ' Update'.html_safe, new_scenario_imports_path(:url => @scenario.source_url), class: "btn btn-default" %> <% end %> <%= link_to ' Share'.html_safe, share_scenario_path(@scenario), class: "btn btn-default" %> <%= link_to ' Delete'.html_safe, scenario_path(@scenario), method: :delete, data: { confirm: "This will remove the '#{@scenario.name}' Scenerio from all Agents and delete it. Are you sure?" }, class: "btn btn-default" %>