annotate app/views/users/.svn/text-base/_preferences.html.erb.svn-base @ 213:00e958b1f6f8 feature_72

DEV commit: working in the repository config tab
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Wed, 09 Feb 2011 16:22:31 +0000
parents 94944d00e43c
children 051f544170fe
rev   line source
chris@37 1 <% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %>
chris@37 2 <p><%= pref_fields.check_box :hide_mail %></p>
chris@37 3 <p><%= pref_fields.select :time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :include_blank => true %></p>
chris@37 4 <p><%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %></p>
chris@37 5 <% end %>
chris@37 6