-<h1><%= h(current_author.name) -%>(<%= h(current_author.email) -%>)</h1>
+<h1><%= h(@author.name) -%>(<%= h(@user.email) -%>)</h1>
<div>
<p>絵師活動</p>
-<% if current_author.artist? -%>
- <%= link_to h(current_author.artist.name), current_author.artist %>です
+<% if @author.artist? -%>
+ <%= link_to h(@author.artist.name), @author.artist %>です
<% else -%>
<p>まだ絵師登録していません。</p>
<p>登録する</p>
+ <%= render 'original_pictures/artist_register' %>
<% end -%>
</div>