[deploy] Fix ui for signup with email (#10841)
* fix: add html_safe so that it will render it as html * fix: use html_safe so that it will render the svg as safe html
This commit is contained in:
parent
4f79da26c3
commit
bb6d450d4b
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
|||
</a>
|
||||
<% end %>
|
||||
<% if params[:state] == "new-user" && SiteConfig.allow_email_password_registration %>
|
||||
<%= link_to "#{inline_svg_tag('email.svg', aria: true, class: 'crayons-icon', title: 'email')}Sign up with Email",
|
||||
<%= link_to "#{inline_svg_tag('email.svg', aria: true, class: 'crayons-icon', title: 'email')}Sign up with Email".html_safe,
|
||||
request.params.merge(state: "email_signup"),
|
||||
class: "crayons-btn crayons-btn--l crayons-btn--brand-email crayons-btn--icon-left whitespace-nowrap",
|
||||
data: { no_instant: "" } %>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue