CCockrum commited on
Commit
1ac7ba7
·
verified ·
1 Parent(s): f9aad51

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -406,7 +406,7 @@ def display_pet_card(pet, is_favorite=False, context="search", tab_id="tab1"):
406
  if pet['status'] == 'adoptable':
407
  tags_html += "<span class='tag' style='background-color: #808080;'>Adoptable</span> "
408
  else:
409
- tags_html += f"<span class='tag' style='background-color: #ffcdd2;'>{pet['status'].title()}</span> "
410
 
411
  if pet['age']:
412
  tags_html += f"<span class='tag'>{pet['age']}</span> "
 
406
  if pet['status'] == 'adoptable':
407
  tags_html += "<span class='tag' style='background-color: #808080;'>Adoptable</span> "
408
  else:
409
+ tags_html += f"<span class='tag' style='background-color: #808080;'>{pet['status'].title()}</span> "
410
 
411
  if pet['age']:
412
  tags_html += f"<span class='tag'>{pet['age']}</span> "