29 lines
779 B
Text
29 lines
779 B
Text
<p id="notice"><%= notice %></p>
|
|
|
|
<h1>Homepages</h1>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th colspan="3"></th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<p class="navbar-text pull-right">
|
|
<% if user_signed_in? %>
|
|
Logged in as <strong><%= current_user.email %></strong>.
|
|
<%= link_to 'Edit profile', edit_user_registration_path, :class => 'navbar-link' %> |
|
|
<%= link_to "Logout", destroy_user_session_path, method: :delete, :class => 'navbar-link' %>
|
|
<% else %>
|
|
<%= link_to "Sign up", new_user_registration_path, :class => 'navbar-link' %> |
|
|
<%= link_to "Login", new_user_session_path, :class => 'navbar-link' %>
|
|
<%= link_to "Sign in with Facebook", user_facebook_omniauth_authorize_path %>
|
|
<% end %>
|
|
</p>
|
|
|
|
|
|
</tbody>
|
|
</table>
|
|
|
|
<br>
|