{$opts = $fielddef->GetOptions()}
{$sel_groups = explode(',', $mams_options)}
{$sel_groups = $fielddef->GetOptionValue('mams_options')}
{$groups_opts = $fielddef->GetMAMSGroups()}

<fieldset>
  <legend>{lang('options')}</legend>
  <div class="pageoverflow">
      <p class="pagetext">{$lise->ModLang('fielddef_type')}:</p>
      <p class="pageinput">
        <select name="{$actionid}custom_input[type]" style="max-width: 98%;">
          {html_options options=$opts.types selected=$fielddef->GetOptionValue('type', 'Dropdown')}
        </select>
      </p>
      <p class="pagetext"><div class="information">{$lise->ModLang('fielddef_type_help')}</div></p>
  </div>
</fieldset>