adopt-a-hydrant/app/views/users/profile.html.haml

13 lines
470 B
Plaintext
Raw Normal View History

2011-05-08 08:29:21 +00:00
%h2
= t("titles.adopted", :hydrant_name => @hydrant.name ? @hydrant.name.titleize : t("defaults.hydrant_name"), :name => @hydrant.user.name)
2011-05-08 08:29:21 +00:00
- unless @hydrant.user.organization.blank?
%h3
2011-05-16 06:32:46 +00:00
= "of #{@hydrant.user.organization}"
2011-05-08 08:29:21 +00:00
- if user_signed_in?
2011-06-13 22:39:39 +00:00
= render :partial => 'users/reminder'
2011-05-08 08:29:21 +00:00
= render :partial => 'hydrants/steal'
2011-06-13 22:39:39 +00:00
= render :partial => 'users/edit_profile'
2011-05-08 08:29:21 +00:00
= render :partial => 'sessions/sign_out'
- else
= render :partial => 'sessions/sign_in'