Can add/remove/edit addresses
[platal.git] / templates / geoloc / form.address.tpl
index ab94e5b..9561af5 100644 (file)
@@ -30,7 +30,7 @@
 {/if}
 <textarea name="{$name}[text]" cols="30" rows="4"
           onchange="form['{$name}[changed]'].value=1"
-          {if !$adr.cityid}class="error"{/if}
+          {if !$adr.cityid && $adr.datemaj}class="error"{/if}
           >{$adr.text}</textarea>
 {if $adr.geoloc}
 <textarea cols="30" rows="4"