Sha256: c92faef398850e809a20fb0d0b5a0e72092ad99566da24d30c6b8a2c3bafc0c7

Contents?: true

Size: 667 Bytes

Versions: 3

Compression:

Stored size: 667 Bytes

Contents

- klass = action.method.downcase
.action{ class: klass }
  .method{ class: klass }=action.method
  .subresource
    %a{ href: 'javascript:void(0);' }= action.path
    %span= " : #{action.label}"
    %span.visibility= format_visibility(action)
  .clear
  %form.hidden{ action: action.path, method: action.method }
    - if action.description
      .description= action.description
    - if action.parameters.any?
      %table
        %tr
          %th='Parameter'
          %th='Value'
          %th='Type'
          %th='Description'
        - action.parameters.each do |parameter|
          = haml :parameter, locals: { parameter: parameter }
      = haml :response

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cabbage_doc-0.0.6 web/views/action.haml
cabbage_doc-0.0.5 web/views/action.haml
cabbage_doc-0.0.4 web/views/action.haml