Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% if user_signed_in? %>
- <div class="col-md-6">
- <div class="well">
- <h2 class="text-center">Your Profile</h2>
- <% if current_user.profile %>
- <%= link_to "Edit your profile", edit_user_profile_path(current_user), class: 'btn btn-default btn-lb btn-block' %>
- <%= link_to "View your profile", user_path(current_user), class: 'btn btn-default btn-lb btn-block' %>
- <% else %>
- <p>Create your profile so that you can share your information with the community.</p>
- <%= link_to "Create your profile", new_user_profile_path(current_user), class: 'btn btn-default btn-lb btn-block' %>
- <% end %>
- </div>
- </div>
- <div class="col-md-6">
- <div class="well">
- <h2 class="text-center">The Community</h2>
- <p>Visit the community to meet other developers, entrepreneurs, and investors!</p>
- <%= link_to "Visit the commmunity", "#", class: 'btn btn-default btn-lb btn-block' %>
- </div>
- </div>
- <% else %>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement