diff options
| author | Teddy Wing | 2017-09-01 18:08:58 +0200 | 
|---|---|---|
| committer | Teddy Wing | 2017-09-01 18:08:58 +0200 | 
| commit | 44aeaeadfaf78ca1c43a6e182aaa67648f7e45f7 (patch) | |
| tree | 0acfa761cbbd39d9ec67a7e9e56eccb86950e1b5 /app/helpers/table_builder_helper.rb | |
| parent | e278efb2eb66cd5bbe9072a81b86efe17dfbd251 (diff) | |
| download | chouette-core-44aeaeadfaf78ca1c43a6e182aaa67648f7e45f7.tar.bz2 | |
TableBuilderHelper: Fix formatting of doc example
Diffstat (limited to 'app/helpers/table_builder_helper.rb')
| -rw-r--r-- | app/helpers/table_builder_helper.rb | 13 | 
1 files changed, 12 insertions, 1 deletions
diff --git a/app/helpers/table_builder_helper.rb b/app/helpers/table_builder_helper.rb index df37cf55f..ec4d487c1 100644 --- a/app/helpers/table_builder_helper.rb +++ b/app/helpers/table_builder_helper.rb @@ -46,7 +46,18 @@ require 'table_builder_helper/url'  #     ],  #     links: [:show, :edit],  #     cls: 'table has-search', -#     overhead: [ {title: 'one', width: 1, cls: 'toto'}, {title: 'two <span class="test">Info</span>', width: 2, cls: 'default'} ] +#     overhead: [ +#       { +#         title: 'one', +#         width: 1, +#         cls: 'toto' +#       }, +#       { +#         title: 'two <span class="test">Info</span>', +#         width: 2, +#         cls: 'default' +#       } +#     ]  #   )  module TableBuilderHelper    # TODO: rename this after migration from `table_builder`  | 
