Skip to content

Commit

Permalink
fix(icon): remove name validation
Browse files Browse the repository at this point in the history
  • Loading branch information
machikoyasuda committed Aug 15, 2023
1 parent 774be89 commit cf99040
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions benefits/core/templates/core/includes/icon.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@

{% if not name %}
<p class="bg-grey-lightest color-standout">
Missing <strong><code>name</code></strong> argument
</p>
{% else %}
{% load static %}
<img class="icon" width="150" height="150" src="{% get_static_prefix %}img/icon/{{ name }}.svg" alt="" />
{% endif %}
{% load static %}
<img class="icon" width="150" height="150" src="{% get_static_prefix %}img/icon/{{ name }}.svg" alt="" />

0 comments on commit cf99040

Please sign in to comment.