Sha256: 5c2a49291c0d47df425c9eddf2cc5b694ddcdc7b26534f6d99ec421df4635d71

Contents?: true

Size: 906 Bytes

Versions: 5

Compression:

Stored size: 906 Bytes

Contents

para {
  text_node 'ExpressUI uses Pickadate.js to select dates.'
  a(href: 'http://amsul.ca/pickadate.js/date/', title: 'Pickadate.js documentation') { 'See documentation' }
  text_node 'and usage guidelines.'
}

table {
  thead {
    th { "Code" }
    th { "Notes" }
  }
  tbody {
    tr {
      td {
        code { "$('.ae-datepicker').pickadate()" }
      }
      td { "Required Javascript. This script initializes the datepicker." }
    }
    tr {
      td {
        code { '<input class="ae-datepicker" type="text""></input>' }
      }
      td { "Required mark-up. The Javascript inserts the datepicker through this class." }
    }
  }
}

code_demo {
  %Q{
    form {
      div(class: 'ae-form-field ae-has-icon') {
      	i(class: 'fa fa-calendar')
      	input(type: 'text', class: 'ae-datepicker ae-text-field ae-input-lg', name: 'ae-datepicker', placeholder: 'Select a date')
      }
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
express_ui-0.5.0 app/views/express_ui/scripts/_datepicker.html.et
express_ui-0.4.2 app/views/express_ui/scripts/_datepicker.html.et
express_ui-0.4.1 app/views/express_ui/scripts/_datepicker.html.et
express_ui-0.4.0 app/views/express_ui/scripts/_datepicker.html.et
express_ui-0.3.0 app/views/express_ui/scripts/_datepicker.html.et