app/views/bhf/entries/form/column/_markdown.haml in bhf-0.4.2.2 vs app/views/bhf/entries/form/column/_markdown.haml in bhf-0.4.2.3
- old
+ new
@@ -1,14 +1,14 @@
-# TODO: markdown editor
= node f, field do
- if @quick_edit
- = f.text_area field.name, :class => 'markdown'
+ = f.text_area field.name, class: 'markdown'
- else
= javascript_include_tag 'bhf_includes/showdown.js'
#wmd-editor.wmd-pane
#wmd-button-bar
- = f.text_area field.name, :id => 'wmd-input', :class => 'markdown'
+ = f.text_area field.name, id: 'wmd-input', class: 'markdown'
%h6.preview_switch
Preview
%span#toggle_html_preview HTML
%span#toggle_live_preview.active Live
#wmd-preview.wmd-panel
\ No newline at end of file