summaryrefslogtreecommitdiff
path: root/app/views/projects/variables
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/variables')
-rw-r--r--app/views/projects/variables/show.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/variables/show.html.haml b/app/views/projects/variables/show.html.haml
index e7bc866d6bc..e80dffc1ced 100644
--- a/app/views/projects/variables/show.html.haml
+++ b/app/views/projects/variables/show.html.haml
@@ -19,7 +19,7 @@
- @project.errors.full_messages.each do |msg|
%li= msg
- = f.fields_for :ci_variables do |variable_form|
+ = f.fields_for :variables do |variable_form|
.form-group
= variable_form.label :key, 'Key', class: 'control-label'
.col-sm-10
@@ -34,7 +34,7 @@
%hr
%p
.clearfix
- = f.link_to_add "Add a variable", :ci_variables, class: 'btn btn-success pull-right'
+ = f.link_to_add "Add a variable", :variables, class: 'btn btn-success pull-right'
.form-actions
= f.submit 'Save changes', class: 'btn btn-save', return_to: request.original_url