Sha256: 674786d4cbec9f642854e2f76d0ae1cddfdaeb1afb4a24e44ad7caca3eed8381
Contents?: true
Size: 718 Bytes
Versions: 7
Compression:
Stored size: 718 Bytes
Contents
<%= f.inputs do %> <%= f.input :content, :as => :text, :input_html => { :class => "col-md-12", :id => "template_content-#{f.object.id || 'new'}" }, :hint => "Use markdown syntax for formatting. You can also use HTML directly. <a href=\"#{guide_path('markdown')}\" data-toggle=\"remote-load\" data-target=\"#content-guide\">See our markdown syntax reference</a>".html_safe %> <div id="template_content_editor-<%= f.object.id || 'new' %>" class="template_content_editor"></div> <div id="content-guide"></div> <% end %> <% content_for :javascript do %> <%= javascript_tag do %> var editor = ace_edit('<%= f.object.id || 'new' %>', 'markdown'); editor.renderer.setShowGutter(false); <% end %> <% end %>
Version data entries
7 entries across 7 versions & 1 rubygems