Source

formbar / formbar / templates / dropdown.mako

Full commit
% if field.is_readonly():
  <div class="readonlyfield">
    ${field.get_value(expand=True) or "&nbsp;"}
  </div>
% else:
  <select name="${field.name}">
    <option value="">${_('None')}</option>
    % for option in field.get_options():
      <option value="${option[1]}">${option[0]}</option>
    % endfor
  </select>
% endif