Skip to content

Commit

Permalink
Merge pull request #15 from isa-group/feature/#12-ImprovementsInSessi…
Browse files Browse the repository at this point in the history
…onAdmin

type of exercise list updated
  • Loading branch information
davbrican authored Jun 29, 2021
2 parents 4706a3f + 663a39b commit d644bea
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/pages/ExerciseConfiguration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -191,14 +191,15 @@
>
Type of exercise:
</label>
<input
class="ml-2 appearance-none border rounded py-2 px-3 w-40 text-gray-700 leading-tight focus:outline-none focus:shadow-outline"
id="type"
type="text"
<select
class="border rounded-sm ml-2 p-1"
v-model="
tests[selectedTest].exercises[selectedExerciseIndex].type
"
/>
>
<option value="INDIVIDUAL">INDIVIDUAL</option>
<option value="PAIR">PAIR</option>
</select>
</div>
<div class="mt-4 max-w-xl mx-auto relative">
<button
Expand Down Expand Up @@ -397,6 +398,7 @@ export default {
).then((response) => {
if (response.status == 200) {
this.loadTests();
window.alert("Exercise updated succesfully!");
}
});
},
Expand Down

0 comments on commit d644bea

Please sign in to comment.