]> WPIA git - gigi.git/blobdiff - src/org/cacert/gigi/pages/orga/CreateOrgForm.templ
add: class dbObjects/CountryCode to handle country code in organisations
[gigi.git] / src / org / cacert / gigi / pages / orga / CreateOrgForm.templ
index bd0f74dece7d19f20f7656d85a4f1ff9fb91df86..761bd78b0655fa0e6f4e05019b1110fef65727f3 100644 (file)
   </tr>
   <tr>
     <td><?=_Country?>:</td>
-    <td><input class="form-control" type="text" name="C" value="<?=$C?>" maxlength="2" size="5">
+    <td>
+      <select name="C">
+    <? foreach($countryCode) { ?>
+        <option value="<?=$cc?>" <?=$selected?> ><?=$cc?> - <?=$display?></option>
+    <? } ?>
+      </select>
       <?=_(2 letter !'<a href="http://www.iso.org/iso/home/standards/country_codes/iso-3166-1_decoding_table.htm">'ISO code!'</a>')?>
     </td>
   </tr>