Sha256: ffc041f68ebabbd7f52cfad8d29d499df4b03f69a65d05536f8529c11b8dbd88

Contents?: true

Size: 1.08 KB

Versions: 7

Compression:

Stored size: 1.08 KB

Contents

- content_for :navigation do
  = aureus_navigation do |n|
    - n.title 'Navigation Title'
    - n.button link_to 'Button', '#'

= aureus_row do |r|
  - r.column 25 do
    = aureus_box 'List' do
      = aureus_listing do |l|
        - l.entry 'Field 1', 'Element 1'
        - l.entry 'Field 2' do
          %strong Element 2
  - r.column 25 do
    = aureus_form [Resource.new] do |f|
      = aureus_box 'Form', for: :form do |b|
        - b.button link_to 'Button', '#'
        - b.content do
          = f.input :title
          = f.action :submit
        - b.foot do
          The Footer
  - r.column 25 do
    = aureus_box 'Map' do
      = aureus_simple_map longitude: 47, latitude: 38
  - r.space 25

= aureus_row do
  = aureus_box 'Simple Datatable' do
    = aureus_datatable Resource.all do |t|
      - t.head do |h|
        - h.text 'Title'
        - h.text 'Text'
      - t.row do |r,res|
        - r.identifier res.id
        - r.cell res.title
        - r.cell res.text
        - r.button :show, 'url'
        - r.button :edit, 'url'
        - r.button :destroy, 'url', confirm: 'Delete user?'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
aureus-3.0.1 spec/internal/app/views/all/index.html.haml
aureus-3.0.0 spec/internal/app/views/all/index.html.haml
aureus-2.1.4 spec/internal/app/views/all/index.html.haml
aureus-2.1.3 spec/internal/app/views/all/index.html.haml
aureus-2.1.2 spec/internal/app/views/all/index.html.haml
aureus-2.1.1 spec/internal/app/views/all/index.html.haml
aureus-2.1.0 spec/internal/app/views/all/index.html.haml