Skip to content

Commit

Permalink
Revoke change for inputs #125
Browse files Browse the repository at this point in the history
  • Loading branch information
Letty committed Sep 27, 2019
1 parent 5a172ce commit 59b4046
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions components/PodcastSettings.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<section>
<b-field label="Title">
<b-input v-if="isDisabled" v-model="podcast.title"></b-input>
<b-input v-if="isDisabled" v-model="podcast.title" disabled></b-input>
<b-input
v-if="!isDisabled"
v-model="title"
Expand All @@ -10,7 +10,7 @@
></b-input>
</b-field>
<b-field label="Subtitle">
<b-input v-if="isDisabled" v-model="podcast.subtitle"></b-input>
<b-input v-if="isDisabled" v-model="podcast.subtitle" disabled></b-input>
<b-input
v-if="!isDisabled"
v-model="subtitle"
Expand All @@ -22,6 +22,7 @@
<b-input
v-if="isDisabled"
v-model="podcast.summary"
disabled
type="textarea"
></b-input>
<b-input
Expand All @@ -33,10 +34,10 @@
></b-input>
</b-field>
<b-field label="Slug">
<b-input v-model="podcast.slug"></b-input>
<b-input v-model="podcast.slug" disabled></b-input>
</b-field>
<b-field label="Short Id">
<b-input v-if="isDisabled" v-model="podcast.shortId"></b-input>
<b-input v-if="isDisabled" v-model="podcast.shortId" disabled></b-input>
<b-input
v-if="!isDisabled"
v-model="shortId"
Expand All @@ -45,7 +46,7 @@
></b-input>
</b-field>
<b-field label="Author">
<b-input v-if="isDisabled" v-model="podcast.author"></b-input>
<b-input v-if="isDisabled" v-model="podcast.author" disabled></b-input>
<b-input
v-if="!isDisabled"
v-model="author"
Expand All @@ -54,7 +55,7 @@
></b-input>
</b-field>
<b-field label="Owner">
<b-input v-if="isDisabled" v-model="podcast.ownerName"></b-input>
<b-input v-if="isDisabled" v-model="podcast.ownerName" disabled></b-input>
<b-input
v-if="!isDisabled"
v-model="ownerName"
Expand All @@ -63,7 +64,11 @@
></b-input>
</b-field>
<b-field label="Owner Email">
<b-input v-if="isDisabled" v-model="podcast.ownerEmail"></b-input>
<b-input
v-if="isDisabled"
v-model="podcast.ownerEmail"
disabled
></b-input>
<b-input
v-if="!isDisabled"
v-model="ownerEmail"
Expand All @@ -72,7 +77,7 @@
></b-input>
</b-field>
<b-field label="Language">
<b-input v-if="isDisabled" v-model="podcast.language"></b-input>
<b-input v-if="isDisabled" v-model="podcast.language" disabled></b-input>
<b-input
v-if="!isDisabled"
v-model="language"
Expand Down

0 comments on commit 59b4046

Please sign in to comment.