Sha256: 3cbd037cd41f00e05e0ef648d9808a86da3b7337b64a9a8b31bf2b95a23202a7

Contents?: true

Size: 614 Bytes

Versions: 12

Compression:

Stored size: 614 Bytes

Contents

Coprl::Presenters.define(:posts_action) do
  helpers Demo::Helpers::IndentedGrid
  attach :top_nav
  attach :events_drawer

  indented_grid do
    heading 'Posts'
    body 'Issues a POST to a given url',
         'Generally used to create a restful resource or issue a command.'
    body '*Note: Will generate a 404.*'

    title 'Posts'
    body "issues a POST to the passed path\nAlias: creates"
    content shows_errors: false do
      button 'posts' do
        event :click do
          posts 'postpath', {optional: :params, its_nil: nil}
        end
      end
    end
  end
  attach :code, file: __FILE__
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.11 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.10 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.9 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.8 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.7 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.6 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.5 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.4 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.3 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.2 app/demo/events/actions/posts.pom
coprl-3.0.0.beta.1 app/demo/events/actions/posts.pom