##// END OF EJS Templates
Lists can be reordered with drag and drop (#12909)....
Lists can be reordered with drag and drop (#12909). git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r11820:f3241385cd7b
r14954:42b5c332b2c2
Show More
new.html.erb
30 lines | 1.1 KiB | text/plain | TextLexer
Jean-Philippe Lang
Adds missing html titles (#14517)....
r11820 <%= title [l(:label_user_plural), users_path], l(:label_user_new) %>
Jean-Philippe Lang
Initial commit...
r2
Jean-Philippe Lang
Merged rails-3.2 branch....
r9346 <%= labelled_form_for @user do |f| %>
Toshi MARUYAMA
replace tabs to spaces at app/views/users/new.html.erb...
r7241 <%= render :partial => 'form', :locals => { :f => f } %>
<% if email_delivery_enabled? %>
<p><label><%= check_box_tag 'send_information', 1, true %> <%= l(:label_send_information) %></label></p>
<% end %>
<p>
<%= submit_tag l(:button_create) %>
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
</p>
Jean-Philippe Lang
Account information can now be sent to the user when creating an account....
r543 <% end %>
Jean-Philippe Lang
Auto-populate fields while creating a new user with LDAP (#10286)....
r10850
<% if @auth_sources.present? && @auth_sources.any?(&:searchable?) %>
<%= javascript_tag do %>
observeAutocompleteField('user_login', '<%= escape_javascript autocomplete_for_new_user_auth_sources_path %>', {
select: function(event, ui) {
$('input#user_firstname').val(ui.item.firstname);
$('input#user_lastname').val(ui.item.lastname);
$('input#user_mail').val(ui.item.mail);
$('select#user_auth_source_id option').each(function(){
if ($(this).attr('value') == ui.item.auth_source_id) {
$(this).attr('selected', true);
$('select#user_auth_source_id').trigger('change');
}
});
}
});
<% end %>
<% end %>