OSDN Git Service

user check
[pettanr/pettanr.git] / app / views / home / index.html.erb
1 <h1><%= h(@author.name) -%>(<%= h(@user.email) -%>)</h1>
2
3 <div>
4 <p>絵師活動</p>
5 <% if @author.artist? -%>
6   <%= link_to h(@author.artist.name), @author.artist %>です
7 <% else -%>
8   <p>まだ絵師登録していません。</p>
9   <p>登録する</p>
10     <%= render 'original_pictures/artist_register' %>
11 <% end -%>
12 </div>