<% content_for :page_title, @application.name %>

<h1><%= @application.name %></h1>

<dl>
  <dt>Repo:</dt>
  <dd><%= link_to @application.repo, @application.repo %></dd>
</dl>

<div class="btn-group">
  <%= link_to "Edit", { action: "edit", id: @application.id }, class: "btn" %>
  <%= link_to "Create Deploy Task", { controller: "tasks", action: "new", application_id: @application.id },
                               class: "btn" %>
</div>

<% content_for :page_title, @application.name %>

<h1><%= @application.name %></h1>

<dl>
  <dt>Repo:</dt>
  <dd><%= link_to @application.repo, @application.repo %></dd>
</dl>

<div class="btn-group">
  <%= link_to "Edit", { action: "edit", id: @application.id }, class: "btn" %>
  <%= link_to "Create Deploy Task", new_task_path, class: "btn" %>
</div>

Simplify 'Create Deploy Task' action
Simplify 'Create Deploy Task' action

Rather than providing the application id, direct users straight to the
new task action.
