Convert a few more slim templates#4183
Conversation
cc2e1cc to
b0545ea
Compare
| </div> | ||
|
|
||
| <p class="mb4"> | ||
| <%= t('forms.backup_code.caution_delete') %> |
There was a problem hiding this comment.
this one had == before, does it need to be marked as raw?
There was a problem hiding this comment.
The translations don't seem to have anything that needs to skip being escaped, so I didn't bring the raw part through:
https://github.com/18F/identity-idp/blob/master/config/locales/forms/en.yml#L16-L17
https://github.com/18F/identity-idp/blob/master/config/locales/forms/es.yml#L18-L19
https://github.com/18F/identity-idp/blob/master/config/locales/forms/fr.yml#L18-L19
| </div> | ||
|
|
||
| <p class="mb4"> | ||
| <%= t('forms.backup_code_regenerate.caution') %> |
There was a problem hiding this comment.
Like above, they don't have any tags or interpolation, so it should be safe to not escape them?
https://github.com/18F/identity-idp/blob/master/config/locales/forms/en.yml#L33-L34
https://github.com/18F/identity-idp/blob/master/config/locales/forms/es.yml#L36-L38
https://github.com/18F/identity-idp/blob/master/config/locales/forms/fr.yml#L36-L38
There was a problem hiding this comment.
Makes sense! Maybe they used to have something. Thanks for checking
No description provided.