diff --git a/templates/call_to_action.html b/templates/call_to_action.html index b32a94f..5604115 100644 --- a/templates/call_to_action.html +++ b/templates/call_to_action.html @@ -23,7 +23,7 @@ {% for button in call_to_action.buttons %} {% if button.icon %} diff --git a/test.py b/test.py index e52acb7..5762152 100644 --- a/test.py +++ b/test.py @@ -53,8 +53,8 @@ template_vars = { "header": "This is a call to action", "lead_text": "Some interesting text for the user", "buttons": [ - {"href": "1"}, - {"href": "2", "theme": "danger"}, + {"text": "something"}, + {"theme": "danger", "text": "something dangerous"}, {"href": "3", "theme": "warning", "icon": "exclamation-diamond-fill"}, { "href": "3",