1+ @extends (' layouts.default' )
2+ @section (' head-content' )
3+ <script language =" JavaScript" src =" /js/jquery-3.1.1.js" ></script >
4+ <script src =" /js/suggestion_detail.js" ></script >
5+ @stop
6+ @section (' content' )
7+ <div class =" suggestion-detail" >
8+ <div class =" text-center" >
9+ <h1 >{{ $user_name } } 's <a href =" /suggestion-list/{{ $suggestion -> location_id } }" >Suggestion for {{ $location_name } } </a ></h1 >
10+ </div >
11+ <form class =" form" >
12+ {!! csrf_field () ! !}
13+ <input type =" hidden" id =" suggestion_id" value =" {{ $suggestion -> id } }" >
14+ <input type =" hidden" id =" location_id" value =" {{ $suggestion -> location_id } }" >
15+ <div class =" row" >
16+ <div class =" form-group col-md-12" >
17+ <div class =" col-md-6" >
18+ <label for =" original_name" >Name:</label >
19+ <input class =" form-control" type =" text" id =" original_name" value =" {{ $original_location -> name } }" readonly >
20+ <input class =" form-control" type =" text" id =" suggestion_name" value =" {{ $suggestion -> location_name } }" readonly >
21+ <input type =" button" class =" btn btn-primary" id =" accept_name" value =" Accept" >
22+ <input type =" button" class =" btn btn-warning" value =" Mark as Resolved" >
23+ </div >
24+ <div class =" col-md-6 " >
25+ <label for =" original_phone_number" >Phone Number:</label >
26+ <input class =" form-control" type =" text" id =" original_phone_number" value =" {{ $original_location -> phone_number } }" readonly >
27+ <input class =" form-control" type =" text" id =" suggestion_phone_number" value =" {{ $suggestion -> location_phone_number } }" readonly >
28+ <input type =" button" class =" btn btn-primary" id =" accept_phone_number" value =" Accept" >
29+ <input type =" button" class =" btn btn-warning" value =" Mark as Resolved" >
30+ </div >
31+ </div >
32+ </div >
33+
34+ <div class =" form-group" >
35+ <label for =" original_address" >Address:</label >
36+ <input class =" form-control" type =" text" id =" original_address" value =" {{ $original_location -> address } }" readonly >
37+ <input class =" form-control" type =" text" id =" suggestion_address" value =" {{ $suggestion -> location_address } }" readonly >
38+ <input type =" button" class =" btn btn-primary" id =" accept_address" value =" Accept" >
39+ <input type =" button" class =" btn btn-warning" value =" Mark as Resolved" >
40+ </div >
41+
42+ <div class =" form-group" >
43+ <label for =" original_url" >External Web Url:</label >
44+ <input class =" form-control" type =" text" id =" original_url" value =" {{ $original_location -> external_web_url } }" readonly >
45+ <input class =" form-control" type =" text" id =" suggestion_url" value =" {{ $suggestion -> location_external_web_url } }" readonly >
46+ <input type =" button" class =" btn btn-primary" id =" accept_url" value =" Accept" >
47+ <input type =" button" class =" btn btn-warning" value =" Mark as Resolved" >
48+ </div >
49+
50+ <div >
51+ <input type =" button" class =" btn btn-primary" id =" accept_all" value =" Accept All" >
52+ <input type =" button" class =" btn btn-warning" value =" Mark as Resolved" >
53+ </div >
54+ </form >
55+
56+ </div >
57+ @stop
0 commit comments