Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
What's new
2
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Projects
Groups
Snippets
Sign up now
Login
Sign in / Register
Toggle navigation
Menu
Open sidebar
SondagesPro
QuestionSettingsType
SelectQuestionByResponses
Compare Revisions
af7a2f583d5510c6ab8ad1d7d94d594f7cf83bcd...310e7469a5a73528e82216acceac48fe74e097ce
Commits (2)
[fix] Take woidth of label and input
· c0a198d5
Chenu Denis
authored
Jan 24, 2023
c0a198d5
Merge branch 'main' of gitlab.com:SondagesPro/QuestionSettingsType/SelectQuestionByResponses
· 310e7469
Chenu Denis
authored
Jan 24, 2023
310e7469
Hide whitespace changes
Inline
Side-by-side
config.xml
View file @
310e7469
...
...
@@ -8,7 +8,7 @@
<author>
Denis Chenu
</author>
<authorUrl>
https://www.sondages.pro
</authorUrl>
<supportUrl>
https://www.sondages.pro
</supportUrl>
<version>
0.3.
0
</version>
<version>
0.3.
1
</version>
<license>
GNU Affero General Public License
</license>
<description>
<![CDATA[Get a list of answers with auto-complete by responses in another survey]]>
</description>
</metadata>
...
...
twig/survey/questions/answer/multipleshorttext/dropdownresponses.twig
View file @
310e7469
{# @version 0.
1.5
#}
{# @version 0.
3.1
#}
<div
class=
"alert alert-danger ls-js-hidden"
>
{{
translation
[
'You need javascript activated to answer to this question.'
]
}}
</div>
<ul
class=
"ls-no-js-hidden ls-answers subquestion-list questions-list dropdown-list list-unstyled form-horizontal"
role=
"group"
aria-labelledby=
"ls-question-text-
{{
baseSgq
}}
"
>
<li
id=
"javatbd
{{
baseSgq
}}
responsesautocomplete"
class=
"question-item answer-item dropdown-item form-group"
>
<label
class=
"control-label col-xs-12 col-sm-
4
"
for=
"responsesautocomplete
{{
baseSgq
}}
"
>
<label
class=
"control-label col-xs-12 col-sm-
col-sm-
{{
sLabelWidth
}}{%
if
sLabelWidth
==
0
%}
hidden
{%
endif
%}
"
for=
"responsesautocomplete
{{
baseSgq
}}
"
>
{{
label
}}
</label>
<div
class=
"col-xs-12 col-sm-
8
"
>
<div
class=
"col-xs-12 col-sm-
{{
sInputContainerWidth
}}
"
>
<select
id=
"responsesautocomplete
{{
baseSgq
}}
"
class=
"form-control"
...
...