mirror of
https://github.com/brunofontes/shareit.git
synced 2025-11-15 16:00:54 -03:00
Starting to add localization into PTB
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<form action="/take" method="POST">
|
||||
{{ csrf_field() }}
|
||||
<input type="hidden" name="item" value="{{$item->id}}">
|
||||
<button type="submit" class="btn btn-sm btn-success">Take It</button>
|
||||
<button type="submit" class="btn btn-sm btn-success">@lang('home.take')</button>
|
||||
</form>
|
||||
@@ -5,7 +5,7 @@
|
||||
{{ csrf_field() }}
|
||||
@method('DELETE')
|
||||
<input type="hidden" name="item" value="{{$item->id}}">
|
||||
<button type="submit" class="btn btn-sm btn-danger ml-auto">Return It</button>
|
||||
<button type="submit" class="btn btn-sm btn-danger ml-auto">@lang('home.return')</button>
|
||||
</form>
|
||||
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
<input type="hidden" name="item" value="{{$item->id}}">
|
||||
@if ($item->waiting_user_id == \Auth::id())
|
||||
@method('DELETE')
|
||||
<button type="submit" class="btn btn-sm btn-outline-danger ml-auto">Cancel Alert</button>
|
||||
<button type="submit" class="btn btn-sm btn-outline-danger ml-auto">@lang('home.cancel_alert')</button>
|
||||
@elseif (!$item->waiting_user_id)
|
||||
<button type="submit" class="btn btn-sm btn-outline-secondary ml-auto">Alert me</button>
|
||||
<button type="submit" class="btn btn-sm btn-outline-secondary ml-auto">@lang('home.alert_me')</button>
|
||||
@endif
|
||||
</form>
|
||||
@endif
|
||||
Reference in New Issue
Block a user