Details: <%= @mission.description %>
<% if @agent.first != nil %>Objective: <%= @agent.first.description %>
<% end %><%= step.description %>
<% if step.validated != true || step.completed != true %> Validate <% end %> <% @step = @step + 1 %> <% end %> <% end %> <% if @agent.first != nil %> <% @step = 1 %> <% @agent.first.mission_agent_steps.order(:step => :asc).each do |step| %> <% @step = @step + 1 %> <% end %> <% end %>