-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adjusted some templates for better looks (nothing exciting)
- Loading branch information
Showing
3 changed files
with
50 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,28 @@ | ||
{% load resulttags %} | ||
|
||
<input type="hidden" class="col-md-12" role='combobox' value="{% if value %}{{ value }}{%endif%}" id="mail_to_field" name="{{name}}" style="margin:0px; padding:0px;" data-facet="{{facet}}" data-group="{{group}}" data-multiple="{{multiple}}"> | ||
<input | ||
type="hidden" | ||
class="col-md-12" | ||
role="combobox" | ||
value="{% if value %}{{ value }}{%endif%}" | ||
id="mail_to_field" | ||
name="{{name}}" | ||
style="margin: 0px; padding: 0px" | ||
data-facet="{{facet}}" | ||
data-group="{{group}}" | ||
data-multiple="{{multiple}}" | ||
/> | ||
|
||
<script> | ||
$(document).ready(function() { | ||
$("#mail_to_field").select2({ | ||
data: {{user_data|mask_safe_uid:is_guest}}, | ||
placeholder: "Select recipients", | ||
minimumInputLength: 2, | ||
allowClear: true, | ||
multiple:true, | ||
maximumSelectionSize: 5, | ||
}); | ||
$(document).ready(function() { | ||
$("#mail_to_field").select2({ | ||
data: {{user_data|mask_safe_uid:is_guest}}, | ||
placeholder: "Select recipients", | ||
minimumInputLength: 2, | ||
allowClear: true, | ||
multiple:true, | ||
maximumSelectionSize: 5, | ||
}); | ||
|
||
}); | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters