- messages also in edit forms of submitter and editor

- help texts on click event in create form
This commit is contained in:
Arno Kaimbacher 2020-01-28 17:59:52 +01:00
parent 619a37e246
commit e0dcffdf00
19 changed files with 850 additions and 765 deletions

View file

@ -77,8 +77,8 @@
</div>
<input name="authors" v-model="form.authors" type="hidden" class="form-check-input" v-validate="'required'"
data-vv-as="Author">
<person-table name="authors" v-bind:heading="'authors'" v-bind:personlist="form.authors"></person-table>
<person-table name="contributors" v-bind:heading="'contributors'" v-bind:personlist="form.contributors">
<person-table name="authors" v-bind:messages="messages" v-bind:heading="'authors'" v-bind:personlist="form.authors"></person-table>
<person-table name="contributors" v-bind:messages="messages" v-bind:heading="'contributors'" v-bind:personlist="form.contributors">
</person-table>
</fieldset>
@ -456,8 +456,6 @@
{{-- <span>old checkeds: @{{ checkeds }}</span> --}}
</div>
</fieldset>
<fieldset id="fieldset-references">

View file

@ -55,6 +55,7 @@
'titleTypes' => $titleTypes,
'descriptionTypes' => $descriptionTypes,
'languages' => $languages,
'messages' => $messages,
'projects' => $projects,
'licenses' => $licenses,
'checkeds' => $checkeds,

View file

@ -74,10 +74,9 @@
{{-- {!! Form::label('additionalCreators', 'Add additional creator(s) if creator is not in database') !!}
<button class="pure-button button-small" @click.prevent="addNewAuthor()">+</button> --}}
</div>
<input name="authors" v-model="form.authors" type="hidden" class="form-check-input" v-validate="'required'"
data-vv-as="Author">
<person-table name="authors" v-bind:heading="'authors'" v-bind:personlist="form.authors"></person-table>
<person-table name="contributors" v-bind:heading="'contributors'" v-bind:personlist="form.contributors">
<input name="authors" v-model="form.authors" type="hidden" class="form-check-input" v-validate="'required'" data-vv-as="Author">
<person-table name="authors" v-bind:messages="messages" v-bind:heading="'authors'" v-bind:personlist="form.authors"></person-table>
<person-table name="contributors" v-bind:messages="messages" v-bind:heading="'contributors'" v-bind:personlist="form.contributors">
</person-table>
</fieldset>
@ -453,10 +452,7 @@
</label>
</template>
{{-- <span>old checkeds: @{{ checkeds }}</span> --}}
</div>
</fieldset>
<fieldset id="fieldset-references">

View file

@ -66,6 +66,7 @@
'titleTypes' => $titleTypes,
'descriptionTypes' => $descriptionTypes,
'languages' => $languages,
'messages' => $messages,
'projects' => $projects,
'licenses' => $licenses,
'checkeds' => $checkeds,