Support the ongoing development of Laravel.io →
Views Blade
Last updated 2 years ago.
0

What you do is correct, it's probably something in the included file or something else that fucks it up.

0

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?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

apurva2342 apurva2342 Joined 17 Sep 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.