mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 16:00:54 -03:00
Adding translation of product page
The news/product/*.blade.php files are translated into PTB.
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<button type="button" class="btn btn-sm btn-secondary mr-1" data-toggle="modal" data-target="#editModal">Edit</button>
|
||||
<button type="button" class="btn btn-sm btn-secondary mr-1" data-toggle="modal" data-target="#editModal">{{ __('product.edit') }}</button>
|
||||
|
||||
<!-- MODAL - CHANGE WINDOW -->
|
||||
<div class="modal fade" id="editModal" tabindex="-1" role="dialog" aria-labelledby="editModalLabel" aria-hidden="true">
|
||||
<div class="modal-dialog" role="document">
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="editModalLabel">Edit product</h5>
|
||||
<h5 class="modal-title" id="editModalLabel">{{ __('product.editProduct') }}</h5>
|
||||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
|
||||
<span aria-hidden="true">×</span>
|
||||
</button>
|
||||
@@ -14,11 +14,11 @@
|
||||
<form action="/product" method="POST">
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="name" class="col-form-label">New name: </label>
|
||||
<label for="name" class="col-form-label">{{ __('product.newName') }} </label>
|
||||
<input type="text" name="name" id="name" class="form-control" value="{{$product->name}}">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="url" class="col-form-label">New url: </label>
|
||||
<label for="url" class="col-form-label">{{ __('product.newUrl') }} </label>
|
||||
<input type="text" name="url" id="url" class="form-control" value="{{$product->url}}">
|
||||
</div>
|
||||
</div>
|
||||
@@ -26,8 +26,8 @@
|
||||
@method('PATCH')
|
||||
{{ csrf_field() }}
|
||||
<input type="hidden" name="product" value="{{$product->id}}">
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
|
||||
<button type="submit" class="btn btn-danger">Edit</button>
|
||||
<button type="button" class="btn btn-secondary" data-dismiss="modal">{{ __('product.close') }}</button>
|
||||
<button type="submit" class="btn btn-danger">{{ __('product.edit') }}</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user