tracks/app/views/preferences/_profile.html.erb

7 lines
283 B
Text
Raw Normal View History

2011-08-02 17:25:45 +02:00
<%= pref_with_text_field 'user', 'first_name' %>
<%= pref_with_text_field 'user', 'last_name' %>
<%= pref_with_select_field('prefs', 'locale', I18n.available_locales.map {|l| l.to_s}) %>
<% if current_user.is_admin? %>
<%= pref_with_text_field('prefs', 'admin_email') %>
<% end %>