[#4181] Change the Deliverable Save button label.

This commit is contained in:
Eric Davis
2010-06-23 17:04:46 -07:00
parent 6efa89a93f
commit 32f91e8da2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -1,13 +1,13 @@
<% form.inputs do %>
<%= form.input :title, :required => true %>
<%= form.input :type, :required => true, :as => :select, :collection => [["Fixed", "fixed"]] %>
<%= form.input :type, :required => true, :as => :select, :collection => [["Fixed", "FixedDeliverable"]] %>
<%= form.input :manager %>
<%= form.input :start_date, :as => :string, :input_html => {:size => 10}, :hint => calendar_for('deliverable_start_date') %>
<%= form.input :end_date, :as => :string, :input_html => {:size => 10}, :hint => calendar_for('deliverable_end_date') %>
<%= form.input :notes, :input_html => {:class => 'wiki-edit', :rows => '5'} %>
<% end %>
<% form.buttons do %>
<%= form.commit_button %>
<%= form.commit_button :label => l(:button_save) %>
<%= link_to(l(:button_cancel), cancel_path) %>
<% end %>
+1 -1
View File
@@ -31,7 +31,7 @@ class DeliverablesNewTest < ActionController::IntegrationTest
fill_in "End Date", :with => '2010-12-31'
fill_in "Notes", :with => 'Some notes on the deliverable'
click_button "Create Deliverable"
click_button "Save"
assert_response :success
assert_template 'contracts/show'