Skip to content

Commit

Permalink
hide section menu for fewer than three sections
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Yoon committed Jan 31, 2011
1 parent edfc5c8 commit 607007b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/surveyor/edit.html.haml
Expand Up @@ -4,7 +4,7 @@
= flash_messages(types)
.close
- semantic_form_for(:r, @response_set, :url => update_my_survey_path, :html => {:method => :put, :id => "survey_form", :class => @survey.custom_class}) do |f|
= render 'partials/section_menu' #unless @sections.size < 3
= render 'partials/section_menu' unless @sections.size < 3
.survey_title= @survey.title
.previous_section= previous_section
= render 'partials/dependents' unless @dependents.empty?
Expand Down

0 comments on commit 607007b

Please sign in to comment.