-
-
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.
- Loading branch information
Showing
12 changed files
with
138 additions
and
10 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
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
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
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
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<div class="row-col col-12"> | ||
<div class="row form-row"> | ||
<div class="col-auto col-title"> | ||
<label for="attributes{{$item->id}}">{{$item->pagetitle}}</label> | ||
<label for="attribute__{{$item->id}}">{{$item->pagetitle}}</label> | ||
@if(trim($item->helptext))<i class="fa fa-question-circle" data-tooltip="{{$item->helptext}}"></i>@endif | ||
</div> | ||
<div class="input-group col"> | ||
<span class="input-group-text"><i class="fab fa-draft2digital"></i></span> | ||
<input type="number" id="attributes{{$item->id}}" name="attributes[{{$item->id}}]" class="form-control" value="" onchange="documentDirty=true;"> | ||
<span class="input-group-text"><small>@lang('sCommerce::global.type_attr_number')</small></span> | ||
<input type="number" id="attribute__{{$item->id}}" name="attribute__{{$item->id}}" class="form-control" value="{{$attrValues[$item->id]->pivot->value ?? ''}}" onchange="documentDirty=true;"> | ||
</div> | ||
</div> | ||
</div> |
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,15 @@ | ||
@php($vals = json_decode($attrValues[$item->id]->pivot->value ?? '', true)) | ||
<div class="row-col col-12"> | ||
<div class="row form-row"> | ||
<div class="col-auto col-title"> | ||
<label for="attribute__{{$item->id}}">{{$item->pagetitle}}</label> | ||
@if(trim($item->helptext))<i class="fa fa-question-circle" data-tooltip="{{$item->helptext}}"></i>@endif | ||
</div> | ||
<div class="col"> | ||
<div class="input-group"> | ||
<span class="input-group-text"><small>@lang('sCommerce::global.type_attr_text')</small></span> | ||
<input type="text" id="attribute__{{$item->id}}" name="attribute__{{$item->id}}[base]" class="form-control" value="{{$vals['base'] ?? ''}}" onchange="documentDirty=true;"> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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