summaryrefslogtreecommitdiff
path: root/app/views/projects/milestones/_form.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/milestones/_form.html.haml')
-rw-r--r--app/views/projects/milestones/_form.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/milestones/_form.html.haml b/app/views/projects/milestones/_form.html.haml
index 0dc9dab872f..78e4cd2243e 100644
--- a/app/views/projects/milestones/_form.html.haml
+++ b/app/views/projects/milestones/_form.html.haml
@@ -26,13 +26,13 @@
.span6
.control-group
= f.label :due_date, "Due Date", class: "control-label"
- .input= f.hidden_field :due_date
+ .controls= f.hidden_field :due_date
.controls
.datepicker
.form-actions
- if @milestone.new_record?
- = f.submit 'Create milestone', class: "btn-save btn"
+ = f.submit 'Create milestone', class: "btn-create btn"
= link_to "Cancel", project_milestones_path(@project), class: "btn btn-cancel"
-else
= f.submit 'Save changes', class: "btn-save btn"