<fieldset>
<div class="form-row">
<label class="standard-label"><%= t 'users.new.password' %></label>
- <%= f.password_field :pass_crypt, {:value => '', :autocomplete => :off} %>
+ <%= f.password_field :pass_crypt, { :value => '', :autocomplete => :off } %>
</div>
<div class="form-row">
<label class="standard-label"><%= t 'users.new.confirm password' %></label>
- <%= f.password_field :pass_crypt_confirmation, {:value => '', :autocomplete => :off} %>
+ <%= f.password_field :pass_crypt_confirmation, { :value => '', :autocomplete => :off } %>
</div>
</fieldset>
</div>
<div class="form-row">
<label class="standard-label"><%= t '.preferred editor' %></label>
- <%= f.select :preferred_editor, [[t("editor.default", :name => t("editor.#{DEFAULT_EDITOR}.name")), 'default']] + Editors::ALL_EDITORS.collect { |e| [t("editor.#{e}.description"), e] } %>
+ <%= f.select :preferred_editor, [[t("editor.default", :name => t("editor.#{Settings.default_editor}.name")), 'default']] + Editors::ALL_EDITORS.collect { |e| [t("editor.#{e}.description"), e] } %>
</div>
</fieldset>
<fieldset class="form-divider">
<div class='form-row location clearfix'>
<label class="standard-label"><%= t '.home location' %></label>
- <div id="homerow" <% unless current_user.home_lat and current_user.home_lon %>class="nohome"<%end%> >
+ <div id="homerow" <% unless current_user.home_lat and current_user.home_lon %>class="nohome"<% end %> >
<p class="message form-help deemphasize"><%= t '.no home location' %></p>
<div class='form-column'>
<label class="standard-label secondary"><%= t '.latitude' %></label>