diff --git a/app/views/contracts/show.html.erb b/app/views/contracts/show.html.erb
index 0700263..7400e51 100644
--- a/app/views/contracts/show.html.erb
+++ b/app/views/contracts/show.html.erb
@@ -15,3 +15,5 @@
<% end %>
<%= link_to(l(:button_update), edit_contract_path(@project, resource)) %>
+
+<%= link_to(l(:button_add_new), new_contract_deliverable_path(@project, resource), :id => 'new-deliverable') %>
diff --git a/app/views/deliverables/new.html.erb b/app/views/deliverables/new.html.erb
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/app/views/deliverables/new.html.erb
@@ -0,0 +1 @@
+
diff --git a/config/locales/en.yml b/config/locales/en.yml
index cea93c2..7d9bf27 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -20,3 +20,5 @@ en:
text_payment_terms_net_15: "Net 15"
text_payment_terms_net_30: "Net 30"
text_payment_terms_net_45: "Net 45"
+ button_add_new: Add New
+
diff --git a/test/integration/contracts_show_test.rb b/test/integration/contracts_show_test.rb
index abb1c8d..a915c1f 100644
--- a/test/integration/contracts_show_test.rb
+++ b/test/integration/contracts_show_test.rb
@@ -20,5 +20,17 @@ class ContractsShowTest < ActionController::IntegrationTest
end
end
+ should "have a link to create a new deliverable" do
+ visit_contracts_for_project(@project)
+ click_link @contract.id
+ assert_response :success
+
+ assert_select "a#new-deliverable", :text => /Add New/
+ click_link "Add New"
+ assert_response :success
+ assert_template 'deliverables/new'
+ assert_equal "/projects/main/contracts/#{@contract.id}/deliverables/new", current_url
+ end
+
should "show a list of deliverables for the contract"
end