test view

This commit is contained in:
yqbk
2016-07-13 16:08:12 +02:00
parent f4abc1fec3
commit bff02a3005
5 changed files with 33 additions and 9 deletions

View File

@@ -9,9 +9,18 @@
.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.pagedown_editor :description, {skip_preview: false, panel_class: 'wmd-panel', button_bar_id: 'wmd-button-bar', button_bar_class: '', editor_id: 'wmd-input', editor_class: 'wmd-input', preview_id: 'wmd-preview', preview_class: '', }
/.form-group
= f.label(:description)
= f.hidden_field(:description)
.form-control.markdown
/.wmd-panel
.wmd-button-bar
textarea.wmd-input
.wmd-preview

View File

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