rosa-build/app/views/projects/comments/_body.html.haml

14 lines
470 B
Plaintext
Raw Normal View History

2012-08-29 15:58:58 +01:00
%ul.nav.nav-tabs#md_tabs
%li
%a{"data-toggle" => "tab", :href => "##{id}_edit"} edit
%li
%a{"data-toggle" => "tab", :href => "##{id}_preview"} preview
.tab-content
.tab-pane.active{:id => "#{id}_edit"}
2012-08-31 14:02:03 +01:00
=f.text_area :body, :cols => 80, :id => "#{id}_edit_input"
2012-08-29 15:58:58 +01:00
=hidden_field_tag :body_dup, nil, :name => 'text', :id => "#{id}_edit_input_dup"
.tab-pane{:id => "#{id}_preview"}
.formatted.cm-s-default.md_and_cm{:style => 'background: #FFF'}