{BEGIN <%- @location %>_block} <% if @page.type == 'menu' && @location == 'grid' : %>

{mlang_message MENU_APPLICATION_SHORTCUTS}

<% end %> <% if @form.modelId == "chart-grid" || @form.modelId == "calendar" || @form.modelId == "gantt" :%> <% include 'forms/gridmessage.htm', @self() %> <% end %> > <% for section in ( @form.model.sections || [''] ) : %> <% switch section : %> <% when 'head' : %> <% end %> <% when 'foot' : %> <% end %> <% else : %> <% end %> <% end %> <% for rowIdx in Object.keys( @form.grid ) : %> <% if @form.grid[rowIdx].section == section || !@form.grid[rowIdx].section && !section: %> _<%- rowIdx %>} > <% for cellIdx in Object.keys( @form.grid[rowIdx].cells ) : %> <% include @form.cellTemplate( rowIdx, cellIdx ), @addCell( rowIdx, cellIdx ) %> <% end %> <% end %> <% end %> <% switch section : %> <% when 'head' : %> <% end %> <% when 'foot' : %> <% end %> <% else : %> <% end %> <% end %> <% end %>
{END <%- @location %>_block}