What you do is correct, it's probably something in the included file or something else that fucks it up.
mengidd said:
What you do is correct, it's probably something in the included file or something else that fucks it up.
Well, This is the content in my main.example
<div class="update-post">
<div class="form-group">
<form role="form" action="{{ route('post.add') }}" method="post" file="true" enctype="multipart/form-data">
<textarea name="title" " cols="30" rows="2" placeholder="Title here" class="post-title"></textarea>
<textarea type="text" maxlength="2000" name="post_story" id="post_story" cols="96" rows="6" class="post-story" placeholder="Hey {{ Auth::user()->name }}, What's your new story? " role="body" aria-autocomplete="list" autocomplete="off" aria-expanded="false" aria-haspopup="true"></textarea>
<div id="textarea_feedback"></div>
@if($errors->has('post_story'))
<span>{{ $errors->first('post_Story') }}</span>
@endif
<div class="post-buttons">
<input type="file" name="file_img" id="file" class="upload-btn">
<input type="submit" value="Upload" name="submit" class="submit-btn">
</div>
<input type="hidden" name="_token" value="{{ Session::token() }}">
</form>
</div>
</div>
And whatever it is. Why its on the top of the other container. I still can't get it. Must be something wrong. Is there any alternative?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community