Navigation
This commit is contained in:
@@ -38,5 +38,6 @@ html lang="#{I18n.locale}"
|
||||
/ = console if Rails.env.development?
|
||||
.container
|
||||
= render 'shared/header'
|
||||
= render 'shared/topnavigation'
|
||||
= render 'shared/flashes'
|
||||
= yield
|
||||
|
||||
@@ -4,7 +4,7 @@ header
|
||||
= image_tag('ch420_logo.png', class:'img-responsive pagelogo', alt: t('.logo'))
|
||||
.col-md-8.col-xs-8
|
||||
h1
|
||||
= title t('.title_html')
|
||||
= t('.title_html')
|
||||
.col-xs-12.col-md-3
|
||||
nav.pull-right
|
||||
h2.sr-only =t('.lang')
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
= navbar do
|
||||
= navbar_header
|
||||
= navbar_collapse do
|
||||
= navbar_group id: 'topnav' do
|
||||
= navbar_item "Home", "/#{I18n.locale}"
|
||||
= navbar_item t('.donation'), spenden_path
|
||||
@@ -1,6 +1,7 @@
|
||||
- title(t('shared.header.title_html'))
|
||||
.row
|
||||
.col-xs-12.col-md-7
|
||||
h2.sr-only =t('.form')
|
||||
h2.sr-only = t('.form')
|
||||
= simple_form_for @supporter do |f|
|
||||
= f.input :first_name, placeholder: t('.placeholders.first_name')
|
||||
= f.input :last_name, placeholder: t('.placeholders.last_name')
|
||||
|
||||
Reference in New Issue
Block a user