Sha256: 37792d324ca76124700c659a36ad8a0eef65bcb617eae1a6be8e9d6976a185e9
Contents?: true
Size: 794 Bytes
Versions: 6
Compression:
Stored size: 794 Bytes
Contents
.task_term_fields .form-sub-group.task_term_label = f.label :term, class: "control-label" .form-sub-group.task_term_type = f.input :term, collection: task_term_values_for_select, include_blank: true, html5: true, wrapper: :default, label: false, input_html: {class: "form-control"} .form-sub-group.task_term_custom = f.input :term, html5: true, wrapper: :default, label: false, input_html: {class: "form-control", id: "task_term_custom"} coffee: $("#task_term") .change -> if $(this).val() == "custom" || $(this).val() == "" $("#task_term_custom").prop(disabled: false) $(".form-sub-group.task_term_custom").show() else $("#task_term_custom").prop(disabled: true) $(".form-sub-group.task_term_custom").hide() .change()
Version data entries
6 entries across 6 versions & 1 rubygems