diff --git a/ddm/core/static/ddm_core/css/research-interface-base.css b/ddm/core/static/ddm_core/css/research-interface-base.css
index 5ebf026..ada0ae7 100644
--- a/ddm/core/static/ddm_core/css/research-interface-base.css
+++ b/ddm/core/static/ddm_core/css/research-interface-base.css
@@ -158,6 +158,27 @@
color: lightgray;
}
-.item-set-table input[type="text"]{
+.item-set-table input[type="text"],
+.item-set-table input[type="number"] {
width: 100%;
}
+
+.item-set-table .num-input-col {
+ width: 5%;
+ min-width: 80px;
+}
+
+.item-set-table .check-input-col {
+ width: 8%;
+ min-width: 80px;
+ text-align: center;
+}
+
+.item-set-table td {
+ vertical-align: middle;
+ text-align: center;
+}
+
+.item-set-table .checkmark {
+ display: inline-block;
+}
diff --git a/ddm/questionnaire/models.py b/ddm/questionnaire/models.py
index 6887bc0..a3f4297 100644
--- a/ddm/questionnaire/models.py
+++ b/ddm/questionnaire/models.py
@@ -407,6 +407,7 @@ class Meta:
'QuestionBase',
on_delete=models.CASCADE
)
+ index = models.IntegerField()
label = models.CharField(
max_length=255,
null=True,
@@ -418,7 +419,6 @@ class Meta:
blank=True,
verbose_name="Label Right"
)
- index = models.IntegerField()
value = models.IntegerField()
randomize = models.BooleanField(default=False)
diff --git a/ddm/questionnaire/templates/ddm_questionnaire/edit.html b/ddm/questionnaire/templates/ddm_questionnaire/edit.html
index 04ffba0..489d864 100644
--- a/ddm/questionnaire/templates/ddm_questionnaire/edit.html
+++ b/ddm/questionnaire/templates/ddm_questionnaire/edit.html
@@ -44,26 +44,26 @@
{% if forloop.first %}
+
{% endif %}
Index
{% if object.question_type == "semantic_diff" %}
Label
Label Right
{% else %}
Label
{% endif %}
- Index
Value
Randomize