<h2>Add a new message</h2>
<form action="" method="post">
<!-- Message Form Input -->
<input name="_method" type="hidden" value="PUT">
<div class="form-group">
<textarea name="message" class="form-control"></textarea>
</div>
<!-- Submit Form Input -->
<div class="form-group">
<button type="submit" class="btn btn-primary form-control">Submit</button>
</div>
</form>
<h2>Add a new message</h2>
<form action="{{ route('messages.update', thread.id) }}" method="post">
<!-- Message Form Input -->
<input name="_method" type="hidden" value="PUT">
<div class="form-group">
<textarea name="message" class="form-control">{{ message }}</textarea>
</div>
{% if users|length() > 0 %}
<div class="checkbox">
{% for user in users %}
<label title="{{ user.full_name }}">
<input type="checkbox" name="recipients[]" value="{{ user.id }}">{{ user.full_name }}
</label>
{% endfor %}
</div>
{% endif %}
<!-- Submit Form Input -->
<div class="form-group">
<button type="submit" class="btn btn-primary form-control">Submit</button>
</div>
</form>
/* No context defined. */
No notes defined.