opigno-user-result-item.html.twig in Opigno module 3.x
Same filename and directory in other branches
<div{{ attributes.addClass('content-box') }}> <h3>{{ label }}</h3> <div>{{ question_body }}</div> <div>{{ score }}</div> {% if content %} {{- content -}} {% endif %} </div>
1 theme call to opigno-user-result-item.html.twig
- OpignoModuleController::userResult in src/
Controller/ OpignoModuleController.php - Returns user result.
File
templates/opigno-user-result-item.html.twigView source
- <div{{ attributes.addClass('content-box') }}>
- <h3>{{ label }}</h3>
- <div>{{ question_body }}</div>
- <div>{{ score }}</div>
- {% if content %}
- {{- content -}}
- {% endif %}
- </div>