[minor] render GSTIN value as "" instead of None

This commit is contained in:
Makarand Bauskar 2017-06-27 18:59:35 +05:30 committed by GitHub
parent b43f4073db
commit 104eb8c6ad

View File

@ -28,7 +28,7 @@
<div class='bordered' style='max-width: 300px; margin-bottom: 15px;'> <div class='bordered' style='max-width: 300px; margin-bottom: 15px;'>
{{ address.display }} {{ address.display }}
<p><input type='text' class='form-control' <p><input type='text' class='form-control'
value='{{ address.gstin }}' name='{{ address.name }}' placeholder='GSTIN'></p> value='{{ address.gstin or "" }}' name='{{ address.name }}' placeholder='GSTIN'></p>
</div> </div>
{% endfor %} {% endfor %}
<p><input type='submit' class='btn btn-primary' value='Update'></p> <p><input type='submit' class='btn btn-primary' value='Update'></p>