Commit bab1decb authored by o@immerda.ch's avatar o@immerda.ch
Browse files

select immerda.ch by default

parent 301b0934
......@@ -9,7 +9,7 @@
</td><td>
@
</td><td>
<%= select_tag :domain, options_for_select(@domains.map{|d| [d,d]}) %>
<%= select_tag :domain, options_for_select(@domains.map{|d| [d,d]}, 'immerda.ch') %>
</td></tr>
<tr><td>
<%= label_tag(:new, (t :new_pw)) %>
......
......@@ -4,7 +4,7 @@
<tr><td><%= label_tag(:alias, (t :alias)) %></td>
<td><%= text_field_tag(:alias, @the_user['alias']) %></td></tr>
<tr><td><%= label_tag(:domain, (t :domain)) %></td>
<td><%= select_tag :domain, options_for_select(@domains.map{|d| d['domain']}, @the_user['domain']) %></td></tr>
<td><%= select_tag :domain, options_for_select(@domains.map{|d| d['domain']}, @the_user['domain'] || 'immerda.ch') %></td></tr>
<tr><td><%= label_tag(:forward, (t :forward)) %></td>
<td><%= text_field_tag(:forward, @the_user['forward']) %></td></tr>
<% if params[:forward].present? %>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment