view .svn/pristine/14/14ee5b2fb5a9f9c39e2c17ac2573da976e834e55.svn-base @ 1408:b09744f35f76 biblio_alt_search_auth

Fixed the initial state of the Save/Edit buttons.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 01 Oct 2013 12:08:09 +0100
parents cbb26bc654de
children
line wrap: on
line source
<% fields_for :pref, @user.pref, :builder => TabularFormBuilder, :lang => current_language do |pref_fields| %>
<p><%= pref_fields.check_box :hide_mail %></p>
<p><%= pref_fields.select :time_zone, ActiveSupport::TimeZone.all.collect {|z| [ z.to_s, z.name ]}, :include_blank => true %></p>
<p><%= pref_fields.select :comments_sorting, [[l(:label_chronological_order), 'asc'], [l(:label_reverse_chronological_order), 'desc']] %></p>
<p><%= pref_fields.check_box :warn_on_leaving_unsaved %></p>
<% end %>