* . * . * . * 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>
10 lines
368 B
Text
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>
|