Skip to content

Commit

Permalink
Country is now hidden, if left empty.
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianallgeier committed Jan 17, 2017
1 parent 9a59105 commit c9d57bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/template.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<name><?= $name ?></name>
<street><?= $street ?></street>
<city><?= $city ?></city>
<?php if(!empty($country)): ?>
<country><?= $country ?></country>
<?php endif ?>
</from>
<to contenteditable>
<?= $placeholders['address'] ?>
Expand Down Expand Up @@ -35,7 +37,9 @@
<name><?= $name ?></name>
<street><?= $street ?></street>
<city><?= $city ?></city>
<?php if(!empty($country)): ?>
<country><?= $country ?></country>
<?php endif ?>
</address>

<contact>
Expand Down

0 comments on commit c9d57bd

Please sign in to comment.