Skip to content

Commit

Permalink
approach_ideas/_header done
Browse files Browse the repository at this point in the history
  • Loading branch information
Mandy Moore committed Apr 24, 2015
1 parent a7a29ae commit f97eff4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
4 changes: 1 addition & 3 deletions app/views/approach_ideas/_header.html.erb
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
approach_ideas/_header

<div class='row'>
<div class='col-sm-10 col-sm-offset-1'>

<div class='content-block'>
<h6 class='text-center'>Idea</h6>
<h6 class='text-center'><%= t('approach_ideas._header.section_title') %></h6>

<h2 class='section-title text-approach'><%= link_to @approach_idea.title, challenge_approach_stage_path(@challenge, @approach_idea.approach_stage, anchor: "approach_idea-#{@approach_idea.id}") %></h2>

Expand Down
10 changes: 7 additions & 3 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,13 @@ en:
project_name: "Challenge Platform"
project_hashtag: "#ChallengePlatformGenericTag"

approach_ideas:
_header:
section_title: "Idea" #line 7

# <%= t '.section_title' %>
# <%= t('approach_ideas._header.section_title') %>

approach_stages:
show:
# title: "See approaches" line 11
Expand All @@ -46,9 +53,6 @@ en:
social_sharing_description: "More people means more problems solved. Share this challenge!" #line 143


# <%= t '.social_sharing_description' %>





Expand Down

0 comments on commit f97eff4

Please sign in to comment.