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

14 lines
551 B
Plaintext
Raw Normal View History

2011-05-08 08:29:21 +00:00
%h2
= t("titles.adopted", :thing_name => @hydrant.name ? @hydrant.name.titleize : t("defaults.this_thing", :thing => t("defaults.thing")))
2011-09-15 01:23:56 +00:00
%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'