UX: Changed editor_version to a select field (#2107)
This commit is contained in:
parent
b5eca77d63
commit
d838f17f4b
2 changed files with 8 additions and 2 deletions
|
|
@ -212,7 +212,13 @@
|
|||
}
|
||||
select {
|
||||
display: block;
|
||||
font-size: 1.3em;
|
||||
font-size:19px;
|
||||
width:650px;
|
||||
max-width:calc(100% - 4px);
|
||||
padding:12px;
|
||||
border:1px solid rgb(222, 230, 233);
|
||||
border-radius:3px;
|
||||
background-color:white;
|
||||
}
|
||||
button.big-action {
|
||||
width: 130px;
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<%= form_for(@user) do |f| %>
|
||||
<div class="sub-field">
|
||||
<%= f.label :editor_version, "Editor version: v1 or v2" %>
|
||||
<%= f.text_field :editor_version %>
|
||||
<%= f.select :editor_version, options_for_select(["v1", "v2"], @user.editor_version) %>
|
||||
<sub><em>v2 is currently in beta</em></sub>
|
||||
</div>
|
||||
<div class="field">
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue