OSDN Git Service

Remove "is" from labels
authorDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 18 Oct 2013 04:28:49 +0000 (13:28 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Fri, 18 Oct 2013 04:28:49 +0000 (13:28 +0900)
app/views/admin/groups/edit.html.haml
app/views/admin/groups/new.html.haml
app/views/groups/edit.html.haml
app/views/groups/new.html.haml
app/views/projects/edit.html.haml
app/views/projects/new.html.haml
features/steps/shared/project.rb

index 8ed463a..3918bf9 100644 (file)
@@ -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
index 0ae35eb..cfbe6b5 100644 (file)
@@ -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
index 2682d31..d6df8d0 100644 (file)
@@ -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"
 
index 02049bb..fc1d89c 100644 (file)
@@ -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"
 
index 03cd3cb..a2e0977 100644 (file)
@@ -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"
 
index 0213576..1b774ba 100644 (file)
@@ -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
index c5d8b62..cef66b0 100644 (file)
@@ -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