app/onboarder/helpers.rb
# This returns a blob of HTML: a <select> element with a bunch of
# <options> which refers to everyone inside Redmine. 
#
# `id` refers to the "id" and the "name" HTML attribute. The selection
# will display the user with the `selected` login name if it is
# provided. The form will see the user's login attribute.
This returns a blob of HTML: a  element with a bunch of
 which refers to everyone inside Redmine.

`id` refers to the "id" and the "name" HTML attribute. The selection
will display the user with the `selected` login name if it is
provided. The form will see the user's login attribute.
This returns a blob of HTML : a element with a bunch of which refers to everyone inside Redmine . ` id ` refers to the " id " and the " name " HTML attribute . The selection will display the user with the ` selected ` login name if it is provided . The form will see the user ' s login attribute .
def select_any_redmine_user(id, selected=nil)
      templ = <<-EOF
        <select name="<%= id %>" id="<%= id %>">
          <% all_redmine_users.each do |user| %>
            <option
              value="<%= user["login"] %>"
              <%= "selected" if user["login"] == selected %>
            >
              <%= user_login_to_pretty(user["login"]) %>
            </option>
          <% end %>
        </select>
      EOF
      return _erb(templ, binding)
    end
def select_any_redmine_user ( id , selected = nil ) templ = <<-EOF 
        <select name="<%= id %>" id="<%= id %>">
          <% all_redmine_users.each do |user| %>
            <option
              value="<%= user["login"] %>"
              <%= "selected" if user["login"] == selected %>
            >
              <%= user_login_to_pretty(user["login"]) %>
            </option>
          <% end %>
        </select>
       EOF return _erb ( templ , binding ) end
This returns a blob of HTML: a <select> element with a bunch of
<options> which refers to everyone inside Redmine.
This returns a blob of HTML : a <select > element with a bunch of <options > which refers to everyone inside Redmine .
id
selected