Sha256: 3e4bf3004af9bfaaa31da7fb38a3e5a7e62528b5f46b457d7163df2f4caa504d

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

<div class="row">
  <div class="span4 logo">
    <%= link_to root_path do %>
          <h1>Bootstrap theme</h1>
        <% end %>
  </div>
  <div class="span8">

    <div class="row">
      <div class="span2 offset6">
        <table>
          <tr>
            <td><i class="cart_icon"></i></td>
            <td><%= link_to_cart %></td>
          </tr>
        </table>
      </div>
    </div>
    <br>

    <div class="row">
      <div class="links pull-right">
        <% if current_user %>
          <%= t(:hello_user) %>, <%= link_to current_user.email, account_path %> |
          <%= link_to t('logout'), destroy_user_session_path, {:id => 'log_out_link'} %>
        <% else %>
          <%= t(:hello_user) %>, <%= link_to t('log_in'), "#login", {"data-toggle" => 'modal'} %>.
        <% end %>
      </div>

    </div>
  </div>
</div>

<% unless current_user %>
  <div id="login" class="modal hide fade" style="display: none;">
    <div class="modal-header">
      <a class="close" data-dismiss="modal">×</a>
    </div>
    <div class="modal-body">
      <%= render :partial => "shared/login" %>
    </div>
  </div>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
synergy_bootstrap_theme-0.0.2 app/views/shared/_header.html.erb
synergy_bootstrap_theme-0.0.1 app/views/shared/_header.html.erb