From 9fadb6a5aedf33708bd2574122c21a714159ae96 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Wed, 5 Nov 2014 21:06:41 +0500 Subject: [PATCH] [#369] build list index page: fix a button message --- app/views/projects/build_lists/_filter.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/projects/build_lists/_filter.html.haml b/app/views/projects/build_lists/_filter.html.haml index e46aa6837..e51a29eac 100644 --- a/app/views/projects/build_lists/_filter.html.haml +++ b/app/views/projects/build_lists/_filter.html.haml @@ -80,6 +80,6 @@ -if @project and can?(:create, @project.build_lists.build) .btn-group %button.btn.btn-default{ id: 'filter_new_build', type: 'button', - onclick: "location.href='#{new_project_build_list_path(@project)}'", - value: t('layout.build_lists.new_header') } + onclick: "location.href='#{new_project_build_list_path(@project)}'" } + = t('layout.build_lists.new_header') = hidden_field_tag :name_with_owner, @project.try(:name_with_owner)