diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 19:08:31 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-12-31 19:08:31 +0400 |
commit | 5b2aa853a3e1b1ef5fd5ae4a23cf7850988c9f43 (patch) | |
tree | c5014e5dd4e4686fe51ec13845d96eec506f2b83 /app/views/projects/services | |
parent | d7a48443ce3dae559726de4d9f5ce358877bfbcd (diff) |
Fix compare view and services
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/projects/services')
-rw-r--r-- | app/views/projects/services/_form.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/services/_form.html.haml b/app/views/projects/services/_form.html.haml index a6f87c93169..a3b5296ed1e 100644 --- a/app/views/projects/services/_form.html.haml +++ b/app/views/projects/services/_form.html.haml @@ -10,7 +10,7 @@ %hr -= form_for(@service, as: :service, url: project_service_path(@project, @service.to_param), method: :put) do |f| += form_for(@service, as: :service, url: project_service_path(@project, @service.to_param), method: :put, html: { class: 'form-horizontal' }) do |f| - if @service.errors.any? .alert.alert-danger %ul @@ -32,9 +32,9 @@ = f.label name, class: "control-label" .col-sm-10 - if type == 'text' - = f.text_field name, class: "input-lg", placeholder: placeholder + = f.text_field name, class: "form-control", placeholder: placeholder - elsif type == 'textarea' - = f.text_area name, rows: 5, class: "input-lg", placeholder: placeholder + = f.text_area name, rows: 5, class: "form-control", placeholder: placeholder - elsif type == 'checkbox' = f.check_box name |