Skip to content

Commit

Permalink
Remove hidden word for non generated scratch codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Carson-Tang authored and Xyene committed Jun 16, 2020
1 parent ead2202 commit 4188578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/user/edit-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,11 @@
{% if profile.scratch_codes %}
<a id="generate-scratch-codes-button" href="{{ url('generate_scratch_codes') }}"
class="button inline-button">{{ _('Regenerate') }}</a>
<div id="hidden-word">{{ _('Hidden') }}</div>
{% else %}
<a id="generate-scratch-codes-button" href="{{ url('generate_scratch_codes') }}"
class="button inline-button">{{ _('Generate') }}</a>
{% endif %}
<div id="hidden-word">{{ _('Hidden') }}</div>
<div id="scratch-codes-text"></div>
<pre><code id="scratch-codes"></code></pre>
</span>
Expand Down

0 comments on commit 4188578

Please sign in to comment.