* Create UX Customization tab in settings * Add variable import * Change from UX Customization to just UX
10 lines
387 B
Text
10 lines
387 B
Text
<label class="rich-selector font-selector font-selector--<%= font.tr(" ", "-") %>">
|
|
<%= f.radio_button :config_font, font, checked: @user.config_font.tr("_", " ") == font, class: "rich-selector__radio" %>
|
|
<div class="rich-selector__indicator"></div>
|
|
<div class="rich-selector__outline"></div>
|
|
<% if font == "default"%>
|
|
serif
|
|
<% else %>
|
|
<%= font %>
|
|
<% end %>
|
|
</label>
|