diff --git a/app/views/deliverables/edit.html.erb b/app/views/deliverables/edit.html.erb index 3ce2da9..b8f2bc4 100644 --- a/app/views/deliverables/edit.html.erb +++ b/app/views/deliverables/edit.html.erb @@ -1,3 +1,5 @@ +<%= render :partial => 'contracts/title', :locals => {:contract => @contract} %> + <%= content_tag(:h2, h(l(:text_edit_deliverable_title, :title => resource.title))) %> <% semantic_form_for [@project, @contract, setup_nested_deliverable_records(resource)], :url => contract_deliverable_path(@project, @contract, resource), :html => {:class => 'deliverable tabular'} do |form| %> diff --git a/app/views/deliverables/new.html.erb b/app/views/deliverables/new.html.erb index 601e052..4b6a32a 100644 --- a/app/views/deliverables/new.html.erb +++ b/app/views/deliverables/new.html.erb @@ -1,3 +1,5 @@ +<%= render :partial => 'contracts/title', :locals => {:contract => @contract} %> + <%= content_tag(:h2, l(:text_new_deliverable)) %> <% semantic_form_for [@project, @contract, setup_nested_deliverable_records(resource)], :url => contract_deliverables_path(@project, @contract), :html => {:class => 'deliverable tabular'} do |form| %>