-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#27, Code for the frontend of AddingQuestion is done
- Loading branch information
1 parent
01d14cb
commit e354a1e
Showing
4 changed files
with
78 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
@extends('layouts.app') | ||
@section('title', 'Add Questions') | ||
|
||
@push('bodycontent') | ||
<section> | ||
|
||
<style> | ||
/* Add any custom CSS styling here */ | ||
</style> | ||
|
||
<div class="gap gray-bg"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<div class="row merged20" id="page-contents"> | ||
@include('layouts.includes.sidebar') | ||
<div class="col-lg-9"> | ||
<div class="central-meta"> | ||
<div class="frnds"> | ||
<ul class="nav nav-tabs"> | ||
<li class="nav-item"><a class="active" href="" data-toggle="tab">Add Question</a></li> | ||
</ul> | ||
<div class="tab-content"> | ||
<div class="tab-pane active fade show"> | ||
<ul class="nearby-contct"> | ||
<li> | ||
<form action="" method="POST"> | ||
@csrf <!-- Include this to protect against CSRF attacks --> | ||
|
||
<div class="form-group"> | ||
<input type="text" name="title" id="title" required> | ||
<label for="title" class="control-label">Question Title</label> | ||
<i class="mtrl-select"></i> | ||
</div> | ||
|
||
|
||
<div class="form-group"> | ||
<textarea type="text" name="body" id="body" required></textarea> | ||
<label for="title" class="control-label">Question Body</label> | ||
<i class="mtrl-select"></i> | ||
</div> | ||
|
||
<button type="submit" class="mtr-btn"><span>Add </span></button> | ||
</form> | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
@endpush |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters