1. Pedro Ferreira
  2. url_shortener

Commits

Pedro Ferreira  committed 73f7b51

- don't show the urls created if there isn't any created yet

  • Participants
  • Parent commits bf390f7
  • Branches default

Comments (0)

Files changed (1)

File templates/index.html

View file
  • Ignore whitespace
 </form>
 
 
+{% if urls %}
+
 <h2>Urls created</h2>
 
 <ul>
     {% endfor %}
 </ul>
 
+{% endif %}
+
 </body>
 </html>