Sha256: 805580db8681d7a74b656a7641bdf9a3fa38df0e4ae7975f3349ff0b0a1bd164
Contents?: true
Size: 810 Bytes
Versions: 3
Compression:
Stored size: 810 Bytes
Contents
<%= f.inputs do %> <%= f.input :content, :as => :text, :input_html => { :class => "col-md-12", :id => "template_content-#{f.object.id || 'new'}", data: { assets_url: selector_modal_assets_path, pages_url: selector_modal_pages_path } }, :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
3 entries across 3 versions & 1 rubygems