Commit 20ea670e67be8086fc4f11b587b91ddbc6cf4ee4

Authored by David Pursehouse
1 parent 42fbc911

Remove "is" from labels

app/views/admin/groups/edit.html.haml
... ... @@ -6,7 +6,7 @@
6 6 %span= @group.errors.full_messages.first
7 7 .control-group.group_name_holder
8 8 = f.label :name do
9   - Group name is
  9 + Group name
10 10 .controls
11 11 = f.text_field :name, placeholder: "Example Group", class: "input-xxlarge"
12 12  
... ... @@ -17,7 +17,7 @@
17 17  
18 18 .control-group.group_name_holder
19 19 = f.label :path do
20   - %span.cred Group path is
  20 + %span.cred Group path
21 21 .controls
22 22 = f.text_field :path, placeholder: "example-group", class: "input-xxlarge danger"
23 23 %ul.cred
... ...
app/views/admin/groups/new.html.haml
... ... @@ -6,7 +6,7 @@
6 6 %span= @group.errors.full_messages.first
7 7 .control-group
8 8 = f.label :name do
9   - Group name is
  9 + Group name
10 10 .controls
11 11 = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
12 12 .control-group.group-description-holder
... ...
app/views/groups/edit.html.haml
... ... @@ -26,7 +26,7 @@
26 26 %span= @group.errors.full_messages.first
27 27 .control-group
28 28 = f.label :name do
29   - Group name is
  29 + Group name
30 30 .controls
31 31 = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
32 32  
... ...
app/views/groups/new.html.haml
... ... @@ -4,7 +4,7 @@
4 4 %span= @group.errors.full_messages.first
5 5 .control-group
6 6 = f.label :name do
7   - Group name is
  7 + Group name
8 8 .controls
9 9 = f.text_field :name, placeholder: "Ex. OpenSource", class: "input-xxlarge left"
10 10  
... ...
app/views/projects/edit.html.haml
... ... @@ -11,7 +11,7 @@
11 11 %fieldset
12 12 .control-group.project_name_holder
13 13 = f.label :name do
14   - Project name is
  14 + Project name
15 15 .controls
16 16 = f.text_field :name, placeholder: "Example Project", class: "span5"
17 17  
... ...
app/views/projects/new.html.haml
... ... @@ -6,7 +6,7 @@
6 6 = form_for @project, remote: true do |f|
7 7 .control-group.project-name-holder
8 8 = f.label :name do
9   - %strong Project name is
  9 + %strong Project name
10 10 .controls
11 11 = f.text_field :name, placeholder: "Example Project", class: "input-xlarge", tabindex: 1, autofocus: true
12 12 %span.help-inline
... ...
features/steps/shared/project.rb
... ... @@ -47,7 +47,7 @@ module SharedProject
47 47  
48 48 Then 'I should see project settings' do
49 49 current_path.should == edit_project_path(@project)
50   - page.should have_content("Project name is")
  50 + page.should have_content("Project name")
51 51 page.should have_content("Features:")
52 52 end
53 53  
... ...