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

13 lines
501 B
Plaintext
Raw Normal View History

2011-05-08 08:29:21 +00:00
%h2
= t("titles.adopted", :thing_name => @thing.name ? @thing.name.titleize : t("defaults.this_thing", :thing => t("defaults.thing")))
2011-09-15 01:23:56 +00:00
%br
= t("titles.byline", :name => @thing.user.name)
2011-09-15 01:23:56 +00:00
%br
= t("titles.ofline", :organization => @thing.user.organization) unless @thing.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'
= render :partial => 'users/edit_profile'
2011-05-08 08:29:21 +00:00
= render :partial => 'sessions/sign_out'
- else
= render :partial => 'sessions/sign_in'