working icons

This commit is contained in:
yqbk
2016-07-25 15:59:48 +02:00
parent 52fd18c80e
commit 9c1b221fba
7 changed files with 11 additions and 13 deletions

View File

@@ -8,18 +8,8 @@
= f.text_field(:title, class: 'form-control', required: true)
.form-group
= f.label(:description)
= f.hidden_field(:description)
.form-control.markdown
/.form-group
= f.label(:description)
= f.hidden_field(:description)
= f.pagedown_editor :description
.form-control.markdown
/.wmd-panel
.wmd-button-bar
textarea.wmd-input
.wmd-preview
/=f.input :description, :as => :pagedown, :input_html => { :preview => true }
.form-group
= f.label(:execution_environment_id)
= f.collection_select(:execution_environment_id, @execution_environments, :id, :name, {}, class: 'form-control')

View File

@@ -1,3 +1,3 @@
h1 = @exercise
= render('test')
= render('form')