app/views/bhf/entries/form/column/_markdown.haml in bhf-0.3.3 vs app/views/bhf/entries/form/column/_markdown.haml in bhf-0.3.4

- old
+ new

@@ -1,3 +1,15 @@ -# TODO: markdown editor + = node f, field do - = f.text_area field.name, :class => 'markdown' \ No newline at end of file + - if @quick_edit + = f.text_area field.name, :id => 'wmd-input', :class => 'markdown' + - else + = javascript_include_tag '/javascripts/bhf_includes/showdown.js' + #wmd-editor.wmd-pane + #wmd-button-bar + = f.text_area field.name, :id => 'wmd-input', :class => 'markdown' + %h6 Live Preview: + #wmd-preview.wmd-panel + %h6 HTML Preview: + #wmd-output.wmd-panel + = javascript_include_tag '/javascripts/bhf_includes/wmd.js'