From 20ea670e67be8086fc4f11b587b91ddbc6cf4ee4 Mon Sep 17 00:00:00 2001 From: David Pursehouse Date: Fri, 18 Oct 2013 13:28:49 +0900 Subject: [PATCH] Remove "is" from labels --- app/views/admin/groups/edit.html.haml | 4 ++-- app/views/admin/groups/new.html.haml | 2 +- app/views/groups/edit.html.haml | 2 +- app/views/groups/new.html.haml | 2 +- app/views/projects/edit.html.haml | 2 +- app/views/projects/new.html.haml | 2 +- features/steps/shared/project.rb | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app/views/admin/groups/edit.html.haml b/app/views/admin/groups/edit.html.haml index 8ed463a..3918bf9 100644 --- a/app/views/admin/groups/edit.html.haml +++ b/app/views/admin/groups/edit.html.haml @@ -6,7 +6,7 @@ %span= @group.errors.full_messages.first .control-group.group_name_holder = f.label :name do - Group name is + Group name .controls = f.text_field :name, placeholder: "Example Group", class: "input-xxlarge" @@ -17,7 +17,7 @@ .control-group.group_name_holder = f.label :path do - %span.cred Group path is + %span.cred Group path .controls = f.text_field :path, placeholder: "example-group", class: "input-xxlarge danger" %ul.cred diff --git a/app/views/admin/groups/new.html.haml b/app/views/admin/groups/new.html.haml index 0ae35eb..cfbe6b5 100644 --- a/app/views/admin/groups/new.html.haml +++ b/app/views/admin/groups/new.html.haml @@ -6,7 +6,7 @@ %span= @group.errors.full_messages.first .control-group = f.label :name do - Group name is + Group name .controls = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left" .control-group.group-description-holder diff --git a/app/views/groups/edit.html.haml b/app/views/groups/edit.html.haml index 2682d31..d6df8d0 100644 --- a/app/views/groups/edit.html.haml +++ b/app/views/groups/edit.html.haml @@ -26,7 +26,7 @@ %span= @group.errors.full_messages.first .control-group = f.label :name do - Group name is + Group name .controls = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left" diff --git a/app/views/groups/new.html.haml b/app/views/groups/new.html.haml index 02049bb..fc1d89c 100644 --- a/app/views/groups/new.html.haml +++ b/app/views/groups/new.html.haml @@ -4,7 +4,7 @@ %span= @group.errors.full_messages.first .control-group = f.label :name do - Group name is + Group name .controls = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left" diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index 03cd3cb..a2e0977 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -11,7 +11,7 @@ %fieldset .control-group.project_name_holder = f.label :name do - Project name is + Project name .controls = f.text_field :name, placeholder: "Example Project", class: "span5" diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index 0213576..1b774ba 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -6,7 +6,7 @@ = form_for @project, remote: true do |f| .control-group.project-name-holder = f.label :name do - %strong Project name is + %strong Project name .controls = f.text_field :name, placeholder: "Example Project", class: "input-xlarge", tabindex: 1, autofocus: true %span.help-inline diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb index c5d8b62..cef66b0 100644 --- a/features/steps/shared/project.rb +++ b/features/steps/shared/project.rb @@ -47,7 +47,7 @@ module SharedProject Then 'I should see project settings' do current_path.should == edit_project_path(@project) - page.should have_content("Project name is") + page.should have_content("Project name") page.should have_content("Features:") end -- libgit2 0.21.2