Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="container">
- <div class="row">
- <div class="col-md-3">
- <%= image_tag @user.profile.avatar.url, class: 'lego-man' %>
- </div>
- <div class="col-md-6">
- <h1><%= @user.profile.first_name %> <%= @user.profile.last_name %></h1>
- <h3><%= @user.profile.job_title %></h3>
- <div class="well">
- <h3>Decription</h3>
- <%= @user.profile.description %>
- </div>
- <% if current_user.plan_id == 2 %>
- <div class="well">
- <h3>Contact Information</h3>
- <%= @user.profile.phone_number %><br/>
- <%= @user.profile.contact_email %><br/>
- </div>
- <% end %>
- </div>
- </div>
- </div>
- .lego-man {
- width: 128px;
- height: 128px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement