[%#
Template for the App Body section of TentMaker home page.
Expects this top level key:
block - an array element from app_blocks array given to tenter.tt
Expects this to be in view.data
statements - hash describing statements built by
Bigtop::Parser::get_keyword_docs
sequence, table, controller, or literals.
expanded_divs - hash keyed by AST ident storing true if its div is open
%]
[% END %][%# end of table_statement_table %]
[% BLOCK controller_block %]
[% INCLUDE controller_statement_table
statements = block.body.statements %]
Name:
Method Type:
Name:
[% FOREACH controller_block IN block.body.blocks %]
[% IF controller_block.type == 'config' %]
[% INCLUDE controller_config_block.ttc
config_block = controller_block %]
[% ELSE %][%# must be a method %]
[% INCLUDE method_block.ttc
item = controller_block %]
[% END %]
[% END %]
[% END %][%# end of controller_block %]
[% BLOCK controller_statement_table %]
[% ctype = block.controller_type %]
Keyword
Value(s)
Description
[% FOREACH controller_statement IN
view.data.statements.controller.statements %]
[% keyword = controller_statement.keyword %]
[% NEXT UNLESS controller_statement.controller_types.all
OR
controller_statement.controller_types.$ctype %]
[% END %][%# end of controller_statement_table %]
[% BLOCK join_table_block %]
[% INCLUDE join_table_statement_table
statements = block.body.statements %]
[% END %][%# end join_table_block %]
[% BLOCK join_table_statement_table %]
Keyword
Value(s)
Description
[% FOREACH jt_statement IN view.data.statements.join_table.statements %]
[% keyword = jt_statement.keyword %]
[% NEXT IF keyword == 'data' %]