File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
app/views/backend/categories Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change 2727 <div class =" profile-box" >
2828 <br >
2929 <form class =" form-horizontal" method =" post" action =" " autocomplete =" off" >
30- <!-- CSRF Token -->
31- <input type =" hidden" name =" _token" value =" {{ csrf_token () } }" />
30+ <!-- CSRF Token -->
31+ <input type =" hidden" name =" _token" value =" {{ csrf_token () } }" />
3232
33- <!-- Category Title -->
34- <div class =" control-group {{ $errors -> has (' name' ) ? ' error' : ' ' } }" >
35- <label class =" control-label" for =" name" >Category Name</label >
36- <div class =" controls" >
37- <input type =" text" name =" name" id =" name" value =" {{ Input:: old (' name' , $category -> name ) } }" />
38- {{ $errors -> first (' title ' , ' <span class="help-inline">:message</span>' ) } }
39- </div >
40- </div >
33+ <!-- Category Title -->
34+ <div class =" control-group {{ $errors -> has (' name' ) ? ' error' : ' ' } }" >
35+ <label class =" control-label" for =" name" >Category Name</label >
36+ <div class =" controls" >
37+ <input type =" text" name =" name" id =" name" value =" {{ Input:: old (' name' , $category -> name ) } }" />
38+ {{ $errors -> first (' name ' , ' <span class="help-inline">:message</span>' ) } }
39+ </div >
40+ </div >
4141
42- <!-- Form actions -->
43- <div class =" control-group" >
44- <div class =" controls" >
45- <a class =" btn btn-link" href =" {{ route (' categories' ) } }" >@lang (' general.cancel' )</a >
46- <button type =" submit" class =" btn-flat success" ><i class =" icon-ok icon-white" ></i > @lang (' general.save' )</button >
47- </div >
48- </div >
49- </form >
42+ <!-- Form actions -->
43+ <div class =" control-group" >
44+ <div class =" controls" >
45+ <a class =" btn btn-link" href =" {{ route (' categories' ) } }" >@lang (' general.cancel' )</a >
46+ <button type =" submit" class =" btn-flat success" ><i class =" icon-ok icon-white" ></i > @lang (' general.save' )</button >
47+ </div >
48+ </div >
49+ </form >
5050
5151
5252 </div >
You can’t perform that action at this time.
0 commit comments