app/onboarder/helpers.rb
# The form will see the role's name.
The form will see the role's name.
The form will see the role ' s name .
def select_any_role(id, selected=nil)
      templ = <<-EOF
        <select name="<%= id %>" id="<%= id %>">
          <% all_roles.each do |role| %>
            <option
              value="<%= role.name %>"
              <%= "selected" if role.name == selected %>
            >
              <%= role.name %> &mdash;
              <%= user_login_to_pretty(role.user) %>
            </option>
          <% end %>
        </select>
      EOF
      return _erb(templ, binding)
    end
def select_any_role ( id , selected = nil ) templ = <<-EOF 
        <select name="<%= id %>" id="<%= id %>">
          <% all_roles.each do |role| %>
            <option
              value="<%= role.name %>"
              <%= "selected" if role.name == selected %>
            >
              <%= role.name %> &mdash;
              <%= user_login_to_pretty(role.user) %>
            </option>
          <% end %>
        </select>
       EOF return _erb ( templ , binding ) end
The form will see the role's name.
The form will see the role ' s name .
id
selected