Commit caa54550fc606395b9736576471d4c99f4245e0b
1 parent
cbebccaa
Exists in
master
and in
29 other branches
Removing extra label for environment_name field
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
app/views/admin_panel/site_info.rhtml
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 | |
7 | 7 | <% labelled_form_for :environment, @environment do |f| %> |
8 | 8 | |
9 | - <%= labelled_form_field(_('Site name'), f.text_field(:name)) %> | |
9 | + <%= labelled_form_field(_('Site name'), text_field(:environment, :name)) %> | |
10 | 10 | |
11 | 11 | <%= labelled_form_field _('Homepage content'), text_area(:environment, :description, :cols => 40, :style => 'width: 90%') %> |
12 | 12 | ... | ... |
features/environment_name.feature
... | ... | @@ -7,6 +7,6 @@ Feature: setting environment name |
7 | 7 | Given I am logged in as admin |
8 | 8 | When I follow "Administration" |
9 | 9 | And I follow "Edit site info" |
10 | - And I fill in "Name" with "My environment" | |
10 | + And I fill in "Site name" with "My environment" | |
11 | 11 | And I press "Save" |
12 | 12 | Then I should see "My environment" within "title" | ... | ... |