From 09dea4b4c5b8455be1102df4bd0efcad4796a325 Mon Sep 17 00:00:00 2001 From: Stella Rouzi Date: Thu, 7 Aug 2014 09:21:29 +0300 Subject: [PATCH] fix typo openSUSE --- app/views/admin/conference/_edit_form.html.haml | 2 +- app/views/admin/conference/edit.html.haml | 2 +- spec/views/admin/conference/edit.html.haml_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/admin/conference/_edit_form.html.haml b/app/views/admin/conference/_edit_form.html.haml index ed26829b..ce71e6b2 100644 --- a/app/views/admin/conference/_edit_form.html.haml +++ b/app/views/admin/conference/_edit_form.html.haml @@ -3,7 +3,7 @@ = semantic_form_for(@conference, :url => admin_conference_path(@conference.short_title),:html => {:multipart => true}) do |f| = f.input :make_conference_public, hint: 'This will enable the visitors to view the splash page(the "View Conference" button will be visible now on the home page), it is recommended to enable this after you have finished setting up all the components for display' = f.input :include_program_in_splash, hint: 'On setting this true you will enable the program component to be displayed on the splash page.This component includes tracks, keynote speakers and the schedule' - = f.input :title, :hint => "The full name of the conference, such as 'OpenSUSE Conference 2013'" + = f.input :title, :hint => "The full name of the conference, such as 'openSUSE Conference 2013'" = f.input :short_title, :hint => "A short title, such as 'osc2013', to be used in URLs" = f.input :color, :hint => "The color will be used eg for the dashboard.", :input_html => {:size => 6, :type => "color"} - if !@conference.logo.blank? diff --git a/app/views/admin/conference/edit.html.haml b/app/views/admin/conference/edit.html.haml index 5eead37d..14b86e1c 100644 --- a/app/views/admin/conference/edit.html.haml +++ b/app/views/admin/conference/edit.html.haml @@ -13,4 +13,4 @@ .tab-pane.active#show = render partial: 'edit_show' .tab-pane#edit - = render partial: 'edit_form' \ No newline at end of file + = render partial: 'edit_form' diff --git a/spec/views/admin/conference/edit.html.haml_spec.rb b/spec/views/admin/conference/edit.html.haml_spec.rb index 44d2cc1a..b25d860a 100644 --- a/spec/views/admin/conference/edit.html.haml_spec.rb +++ b/spec/views/admin/conference/edit.html.haml_spec.rb @@ -6,6 +6,6 @@ describe 'admin/conference/edit' do @conference = create(:conference, title: 'openSUSE') assign :conference, @conference render template: 'admin/conference/edit.html.haml' - expect(rendered).to include('OpenSUSE') + expect(rendered).to include('openSUSE') end end