Skip to content
Snippets Groups Projects
Commit a8b4d5d3 authored by Justin Ho's avatar Justin Ho
Browse files

Update docs example with different copy

parent 8677b28d
No related merge requests found
......@@ -238,8 +238,8 @@ is inside `_()` so it can be translated:
link:
```haml
- link_start = help_link_start_html('user/permissions')
%p= _("This is a text describing the option/feature in a sentence. %{link_start}Learn more.%{link_end}").html_safe % { link_start: link_start, link_end: link_end_html }
- link_start = help_link_start_html('user/profile/account/two_factor_authentication', anchor: 'generate-new-recovery-codes-using-ssh')
%p= _('Alternatively, if you upload an SSH key, you can %{link_start}use that key to generate additional recovery codes%{link_end}.').html_safe % { link_start: link_start, link_end: link_end_html }
```
- Using a button link. Useful in places where text would be out of context with
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment