20 lines
1005 B
PHP
20 lines
1005 B
PHP
<MessageForm :mustencrypt="{{ $mustencrypt ? 'true' : 'false' }}" :possible="{{ $possible ? 'true' : 'false' }}" inline-template>
|
|
<form action="{{ url('store') }}" method="post" @submit="encrypt" id="messageForm" v-if="possible">
|
|
{{ $crsf }}
|
|
<div class="contact-form">
|
|
<div class="form-group">
|
|
<label class="control-label col-sm-5" for="message">Quoi de neuf aujourd'hui ?</label>
|
|
<div class="col-sm-10">
|
|
<Autocomplete hasLabel="false" id="message" name="message" rows="5" placeholder="Que s'est-il passé aujourd'hui ?" textarea="true" />
|
|
<span class="text-danger"></span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-sm-offset-2 col-sm-10">
|
|
<button type="submit" class="btn btn-primary ml-auto">J'enregistre ma journée</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</MessageForm>
|