I created a survey, with matrix type question (among others of course). The matrix columns have the same width, I want to give a column a width smaller than the others, for example, I want to make these two columns smaller (please click the link below) :
Here is the qweb code generating my table :
<template id="matrix" name="Matrix">
<table class="table table-hover">
<tr> <th> </th> <th t-foreach="question.labels_ids" t-as="col_label"><span t-field="col_label.value" /></th> </tr> </thead> <tbody> <tr t-foreach="question.labels_ids_2" t-as="row_label"> <th><span t-field="row_label.value" /></th> <td t-foreach="question.labels_ids" t-as="col_label">
<input type="text" t-if=""/> <!-- the most important line codes--> <input type="number" t-if=""> </td> </tr> </tbody> </table> </template>
I don't know where to start, neither how to write on Sass, I know only the concept.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/10/15, 4:12 PM|
|Seen: 483 times|
|Last updated: 11/10/15, 4:16 PM|