<%%= stylesheet_link_tag "reset", "bootstrap.min", "bootstrap-responsive.min", "beautiful-scaffold" %> <%%= javascript_include_tag "application", "jquery.pjax" %> <%%= javascript_include_tag "jquery.markitup.js" %> <%%= javascript_include_tag "markitup/sets/default/set.js" %> <%%= stylesheet_link_tag "markitup/skins/simple/style.css" %> <% miufile = ["bbcode","wiki","markdown","html","textile"] %> <%%= stylesheet_link_tag <%= miufile.map{ |code| "'markitup/sets/#{code}/style.css'" }.join(',') %> %> <%%= javascript_include_tag <%= miufile.map{ |code| "'markitup/sets/#{code}/set.js'" }.join(',') %> %> <%%= csrf_meta_tags %> <%%= yield :head %>
<%% if not flash[:notice].blank? then %>
×

Info :

<%%= flash[:notice] %>
<%% end %> <%% if not flash[:error].blank? then %>
×

Info :

<%%= flash[:error] %>
<%% end %>
<%%= yield %>
<%%= javascript_include_tag "bootstrap.min", "bootstrap-alert", "bootstrap-dropdown", "bootstrap-modal", "bootstrap-tooltip" %>