adopt-a-hydrant/app/views/contents/_user_profile.html.erb

3 lines
214 B
Plaintext
Raw Normal View History

<h2><%= @hydrant.name ? @hydrant.name.titleize : "This hydrant" %> has been adopted by <%= @hydrant.user.name %></h2>
<%= @hydrant.user.organization ? "<h3>of #{@hydrant.user.organization}</h3>".html_safe : nil %>