+6
-7
app/views/profiles/show.html.erb
+6
-7
app/views/profiles/show.html.erb
···
15
15
<div class="pbody"><%== @profile.bio %></div>
16
16
17
17
<% if user_signed_in? %>
18
-
<ul>
19
-
<li><%= link_to "edit", edit_profile_path(id: current_user) %></li>
20
-
</ul>
18
+
<p>
19
+
<%= link_to "edit", edit_profile_path(id: current_user) %></li>
20
+
</p>
21
21
<% else %>
22
22
<% end %>
23
23
24
24
<hr>
25
25
26
-
<ul>
27
-
<li><a href="/profiles/1">refresh</a></li>
28
-
<li><%= link_to "home", articles_path %></li>
29
-
</ul>
26
+
<p>
27
+
<%= link_to "home", articles_path %>
28
+
</p>
30
29
31
30
</div>