Skip to content

Commit

Permalink
More bugfixing in datasetaccess.
Browse files Browse the repository at this point in the history
  • Loading branch information
talavis committed Nov 22, 2019
1 parent 412e9a2 commit cbfeee2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions frontend/vue/src/components/dataset/DatasetAccess.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="form-group">
<label for="email" class="col-sm-2 control-label">E-mail</label>
<div class="col-sm-4">
<input type="text" class="form-control" id="email" v-model="user.email" v-disabled="true" placeholder="Your e-mail" />
<input type="text" class="form-control" id="email" v-model="user.email" :disabled="true" placeholder="Your e-mail" />
</div>
</div>
<div class="form-group">
Expand All @@ -50,8 +50,8 @@
</div>
<div class="form-group">
<div class="col-sm-2"></div>
<div class="col-sm-4 checkbox">
<input type="checkbox" id="newsletter" v-model="newsletter">
<div class="col-sm-4">
<input type="checkbox" id="newsletter" v-model="newsLetter">
<label class="control-label" for="newsletter">I want a newsletter</label>
</div>
</div>
Expand All @@ -60,7 +60,7 @@
</div>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10">
<input type="submit" class="btn btn-primary" @click="sendRequest" />
<input type="submit" class="btn btn-primary" @click="requestAccess" />
</div>
</div>
</form>
Expand Down Expand Up @@ -181,7 +181,7 @@ export default {
"affiliation": this.user.affiliation,
"country": this.country,
"_xsrf": this.getXsrf(),
"newsletter": this.newsletter ? 1 : 0
"newsletter": this.newsLetter ? 1 : 0
})
.then(() => {
this.$store.dispatch('getUser');
Expand Down

0 comments on commit cbfeee2

Please sign in to comment.