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

14 lines
524 B
Plaintext
Raw Normal View History

2011-05-08 08:29:21 +00:00
%h2
2011-09-15 01:23:56 +00:00
= t("titles.adopted", :hydrant_name => @hydrant.name ? @hydrant.name.titleize : t("defaults.hydrant_name"))
%br
= t("titles.byline", :name => @hydrant.user.name)
%br
= t("titles.ofline", :organization => @hydrant.user.organization) unless @hydrant.user.organization.blank?
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'