admix 0.16.0 → 0.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +0,0 @@
1
- $ ->
2
- $("input.datepicker").each (i) ->
3
- $(this).datepicker
4
- altFormat: "yy-mm-dd"
5
- dateFormat: "dd/mm/yy"
6
- altField: $(this).next()
@@ -1,6 +0,0 @@
1
- class DatepickerInput < SimpleForm::Inputs::Base
2
- def input
3
- @builder.text_field(attribute_name, input_html_options) + \
4
- @builder.hidden_field(attribute_name, { :class => attribute_name.to_s + "-alt"})
5
- end
6
- end
@@ -1,5 +0,0 @@
1
- class RichtextInput < SimpleForm::Inputs::Base
2
- def input
3
- @builder.text_area(attribute_name, input_html_options.merge({class: 'niceditor'}))
4
- end
5
- end
@@ -1,76 +0,0 @@
1
- # encoding: utf-8
2
- Formtastic::Helpers::FormHelper.builder = FormtasticBootstrap::FormBuilder
3
- # Set the default text field size when input is a string. Default is nil.
4
- # Formtastic::FormBuilder.default_text_field_size = 50
5
-
6
- # Set the default text area height when input is a text. Default is 20.
7
- # Formtastic::FormBuilder.default_text_area_height = 5
8
-
9
- # Set the default text area width when input is a text. Default is nil.
10
- # Formtastic::FormBuilder.default_text_area_width = 50
11
-
12
- # Should all fields be considered "required" by default?
13
- # Defaults to true.
14
- # Formtastic::FormBuilder.all_fields_required_by_default = true
15
-
16
- # Should select fields have a blank option/prompt by default?
17
- # Defaults to true.
18
- # Formtastic::FormBuilder.include_blank_for_select_by_default = true
19
-
20
- # Set the string that will be appended to the labels/fieldsets which are required
21
- # It accepts string or procs and the default is a localized version of
22
- # '<abbr title="required">*</abbr>'. In other words, if you configure formtastic.required
23
- # in your locale, it will replace the abbr title properly. But if you don't want to use
24
- # abbr tag, you can simply give a string as below
25
- # Formtastic::FormBuilder.required_string = "(required)"
26
-
27
- # Set the string that will be appended to the labels/fieldsets which are optional
28
- # Defaults to an empty string ("") and also accepts procs (see required_string above)
29
- # Formtastic::FormBuilder.optional_string = "(optional)"
30
-
31
- # Set the way inline errors will be displayed.
32
- # Defaults to :sentence, valid options are :sentence, :list, :first and :none
33
- # Formtastic::FormBuilder.inline_errors = :sentence
34
- # Formtastic uses the following classes as default for hints, inline_errors and error list
35
-
36
- # If you override the class here, please ensure to override it in your stylesheets as well
37
- # Formtastic::FormBuilder.default_hint_class = "inline-hints"
38
- # Formtastic::FormBuilder.default_inline_error_class = "inline-errors"
39
- # Formtastic::FormBuilder.default_error_list_class = "errors"
40
-
41
- # Set the method to call on label text to transform or format it for human-friendly
42
- # reading when formtastic is used without object. Defaults to :humanize.
43
- # Formtastic::FormBuilder.label_str_method = :humanize
44
-
45
- # Set the array of methods to try calling on parent objects in :select and :radio inputs
46
- # for the text inside each @<option>@ tag or alongside each radio @<input>@. The first method
47
- # that is found on the object will be used.
48
- # Defaults to ["to_label", "display_name", "full_name", "name", "title", "username", "login", "value", "to_s"]
49
- # Formtastic::FormBuilder.collection_label_methods = [
50
- # "to_label", "display_name", "full_name", "name", "title", "username", "login", "value", "to_s"]
51
-
52
- # Specifies if labels/hints for input fields automatically be looked up using I18n.
53
- # Default value: true. Overridden for specific fields by setting value to true,
54
- # i.e. :label => true, or :hint => true (or opposite depending on initialized value)
55
- # Formtastic::FormBuilder.i18n_lookups_by_default = false
56
-
57
- # Specifies if I18n lookups of the default I18n Localizer should be cached to improve performance.
58
- # Defaults to true.
59
- # Formtastic::FormBuilder.i18n_cache_lookups = false
60
-
61
- # Specifies the class to use for localization lookups. You can create your own
62
- # class and use it instead by subclassing Formtastic::Localizer (which is the default).
63
- # Formtastic::FormBuilder.i18n_localizer = MyOwnLocalizer
64
-
65
- # You can add custom inputs or override parts of Formtastic by subclassing Formtastic::FormBuilder and
66
- # specifying that class here. Defaults to Formtastic::FormBuilder.
67
- # Formtastic::Helpers::FormHelper.builder = MyCustomBuilder
68
-
69
- # You can opt-in to Formtastic's use of the HTML5 `required` attribute on `<input>`, `<select>`
70
- # and `<textarea>` tags by setting this to false (defaults to true).
71
- # Formtastic::FormBuilder.use_required_attribute = true
72
-
73
- # You can opt-in to new HTML5 browser validations (for things like email and url inputs) by setting
74
- # this to false. Doing so will add a `novalidate` attribute to the `<form>` tag.
75
- # See http://diveintohtml5.org/forms.html#validation for more info.
76
- # Formtastic::FormBuilder.perform_browser_validations = true