Includes content for header
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
<ul class="right">
|
<ul class="right">
|
||||||
<% if user_signed_in? %>
|
<% if user_signed_in? %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to('Logout', destroy_user_session_path, method: :delete) %>
|
<%= link_to('Salir', destroy_user_session_path, method: :delete) %>
|
||||||
</li>
|
</li>
|
||||||
<% else %>
|
<% else %>
|
||||||
<li>
|
<li>
|
||||||
<%= link_to('Login', new_user_session_path) %>
|
<%= link_to('Entrar', new_user_session_path) %>
|
||||||
</li>
|
</li>
|
||||||
<li class="active">
|
<li class="active">
|
||||||
<%#= link_to('Sign up', new_registration_path) %>
|
<%= link_to('Registrarse', new_user_registration_path) %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -13,12 +13,10 @@
|
|||||||
<nav class="top-bar" data-topbar role="navigation">
|
<nav class="top-bar" data-topbar role="navigation">
|
||||||
<ul class="title-area">
|
<ul class="title-area">
|
||||||
<li class="name">
|
<li class="name">
|
||||||
<h1>
|
<%= link_to root_path do %>
|
||||||
<%= link_to root_path do %>
|
<%= image_tag('header-logo-madrid.png', :class => 'left', :size => '96x96') %>
|
||||||
<%= image_tag('header-logo-madrid.png', :class => 'left', :size => '96x96') %>
|
gobierno<strong>abierto</strong> | <span>Participación</span>
|
||||||
gobierno<strong>abierto</strong> | <span>Participación</span>
|
<% end %>
|
||||||
<% end %>
|
|
||||||
</h1>
|
|
||||||
</li>
|
</li>
|
||||||
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
|
<li class="toggle-topbar menu-icon"><a href="#"><span>Menu</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
@@ -28,4 +26,12 @@
|
|||||||
</section>
|
</section>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="row">
|
||||||
|
<div class="small-12 column text-center">
|
||||||
|
<h1>Estamos abriendo Madrid</h1>
|
||||||
|
<h2>Para que todos los madrileños decidamos que ciudad queremos tener.</h2>
|
||||||
|
<%= link_to 'Participa en los últimos debates e iniciativas', new_debate_path, :class => 'button radius' %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</header>
|
</header>
|
||||||
Reference in New Issue
Block a user