<%= text_field_tag('localpart', "", class: 'form-control', required: true) %>
@
<%= domains = ['immerda.ch'] if domains.blank? if domains.length == 1 text_field_tag('domain', domains, class: 'form-control', readonly: true) else select_tag('domain', options_for_select(domains, 'immerda.ch'), class: 'form-control') end %>
<%= t(:localpart_generate) %> <%= link_to t(:username), 'javascript:;', onclick: "randomUsername(update);"%>, <%= link_to "#{t(:words)} (en)", 'javascript:;', onclick: "randomProjectname(3, update);"%> or <%= link_to "#{t(:words)} (de)", 'javascript:;', onclick: "randomGermanProjectname(3, update);"%>