<%= javascript_include_tag :application %> <%= include_extjs %> <%= static_javascript_include_tag('erp_app/utility.js') %> <%= add_authenticity_token_to_extjs %> <%= static_javascript_include_tag('erp_app/jquery_support.js') %> <%= static_javascript_include_tag('datepicker.js') %> <%= static_stylesheet_link_tag('datepicker.css') %> <%= static_stylesheet_link_tag('extjs/resources/css/knitkit_extjs_4.css') %> <%= static_stylesheet_link_tag('knitkit/style.css') %> <%= static_stylesheet_link_tag('knitkit/inline_editing.css') %> <%= static_javascript_include_tag('erp_app/widgets.js') %> <%= static_javascript_include_tag('ajax_pagination.js') %> <%= static_javascript_include_tag('erp_app/shared/dynamic_forms/dynamic_forms_validation.js') %> <%= static_javascript_include_tag('knitkit/helpers.js') %> <%= static_javascript_include_tag('knitkit/inline_editing.js') %> <%= static_javascript_include_tag('erp_app/ckeditor/ckeditor.js') %> <%= yield :head %>
<%=build_crumbs %>
<%= content_for?(:sub_menu) ? yield(:sub_menu) : render_sub_menu(@contents) %> <%#=render_sub_menu(@contents, :menu => 'main')%>
<%= yield %>
<%= content_for?(:footer) ? yield(:footer) : (render :partial => 'shared/knitkit/footer') %> <%= yield :foot %>
<%= setSessionTimeout %> <%= setup_inline_editing %>