docbrown/app/views/users/_editor_selector.html.erb
ludwiczakpawel 16560d9ef1
Settings style updates: Crayons! (#7393)
* .

* .

* .

* snapshot

* whoops

* halifax

* tests

* little fixes

* little fixes

* test? i guess..

* .

* minor fixes

* Update schema.rb

* Use shared logo_design in new org partial

* little fix

* Fix org spec

* decrayonsifying rich-selector

* if statement

Co-authored-by: rhymes <rhymesete@gmail.com>
2020-04-22 19:18:19 +02:00

10 lines
368 B
Text

<label class="rich-selector crayons-field crayons-field--radio editor-selector--<%= version %>">
<%= f.radio_button :editor_version, version, checked: @user.editor_version == version, class: "crayons-radio" %>
<div class="crayons-field__label">
<% if version == "v1" %>
Basic markdown
<% else %>
Rich + markdown
<% end %>
</div>
</label>