Sha256: eb4f244482c8fb512a967fb8e31be898e74dd27469cbfd220fa38f367f1afba4

Contents?: true

Size: 494 Bytes

Versions: 7

Compression:

Stored size: 494 Bytes

Contents

-# TODO: markdown editor

= node f, field do
  - 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'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bhf-0.3.7 app/views/bhf/entries/form/column/_markdown.haml
bhf-0.3.6.4 app/views/bhf/entries/form/column/_markdown.haml
bhf-0.3.6.3 app/views/bhf/entries/form/column/_markdown.haml
bhf-0.3.6.2 app/views/bhf/entries/form/column/_markdown.haml
bhf-0.3.6.1 app/views/bhf/entries/form/column/_markdown.haml
bhf-0.3.5 app/views/bhf/entries/form/column/_markdown.haml
bhf-0.3.4 app/views/bhf/entries/form/column/_markdown.haml