Sha256: 2f95d98d7762fbf05dac6b0fd58e5976f958b96f9a8f5ebaca43b678942ffa06

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 Bytes

Contents

div[href=(model.to_s + '.response') style="--row-count: 3"]
  - repo.map[model][:actions].each do |action|
    // TODO: Nest table in this div for easier jq toggling
    // add borders to this div
    - if route = repo.action_route(model, action)
      div.request-action-title #{repo.action_route(model, action)}
      - if data = repo.load_template(model, action)
        = render 'shared/response_table', locals: { model: model, rows: data }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_api_documentation-0.1.5 app/views/rails_api_doc/api_docs/_response_api_table.slim
rails_api_documentation-0.1.4 app/views/rails_api_doc/api_docs/_response_api_table.slim