Changes between Version 31 and Version 32 of S3/FilterForms


Ignore:
Timestamp:
03/27/13 20:38:16 (8 years ago)
Author:
Dominic König
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • S3/FilterForms

    v31 v32  
    7777=== S3OptionsFilter ===
    7878
    79 S3TextFilter renders checkboxes to select pre-determined options for a field in the resource:
     79S3OptionsFilter renders checkboxes to select pre-determined options for a field in the resource:
    8080
    8181[[Image(s3optionsfilter.png)]]
     
    110110=== S3DateFilter ===
    111111
    112   * tbw
     112S3DateFilter renders two input fields for a date/date+time range, each using a calendar widget for input:
     113
     114[[Image(s3datefilter.png)]]
     115
     116Configuration:
     117
     118{{{
     119instance = S3DateFilter(field, _class="class", hide_time=False, comment=None)
     120}}}
     121
     122Parameters:
     123
     124  - '''field''' is a field selector (or a list of field selectors) for the field(s) to filter by
     125
     126Options:
     127
     128  - '''hide_time''' to hide the time slider (...and only choose a date even if it's a datetime field), default is False (=show the time slider)
     129  - '''comment''' is a help text or tooltip widget to render with the filter widget (only rendered by S3FilterForm)
     130
     131HTML Attributes:
     132
     133  - '''_class''' is the CSS class for the input field
    113134
    114135== Filter Forms ==