From 015d3c6bb0d89b194d5d1a71a32a543c340508a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9?= Date: Tue, 11 May 2021 14:22:13 -0300 Subject: [PATCH] criar e editar areas --- .../views/naturezas/area/detalhes.blade.php | 78 +++++++++--------- .../naturezas/area/editar_area.blade.php | 8 +- .../views/naturezas/area/nova_area.blade.php | 8 +- .../grandeArea/editar_grande_area.blade.php | 8 +- .../grandeArea/nova_grande_area.blade.php | 10 +-- .../subArea/editar_subarea.blade.php | 8 +- .../views/naturezas/subArea/index.blade.php | 80 ++++++++++--------- .../naturezas/subArea/nova_subarea.blade.php | 8 +- 8 files changed, 108 insertions(+), 100 deletions(-) diff --git a/resources/views/naturezas/area/detalhes.blade.php b/resources/views/naturezas/area/detalhes.blade.php index 1feb079..f19b95f 100644 --- a/resources/views/naturezas/area/detalhes.blade.php +++ b/resources/views/naturezas/area/detalhes.blade.php @@ -26,43 +26,47 @@
- - - - - - - - - @foreach ($subAreas as $subArea) - - - - - @endforeach - -
NomeOpção
- {{ $subArea->nome }} - - -
+
+
+ + + + + + + + + @foreach ($subAreas as $subArea) + + + + + @endforeach + +
NomeOpção
+ {{ $subArea->nome }} + + +
+
+
@endsection \ No newline at end of file diff --git a/resources/views/naturezas/area/editar_area.blade.php b/resources/views/naturezas/area/editar_area.blade.php index 05c437e..98e1f00 100644 --- a/resources/views/naturezas/area/editar_area.blade.php +++ b/resources/views/naturezas/area/editar_area.blade.php @@ -2,17 +2,17 @@ @section('content') -
+
-

{{ __('Editar uma área') }}

+

{{ __('Editar uma área') }}

@csrf
- + @error('nome') @@ -21,7 +21,7 @@ @enderror - +
diff --git a/resources/views/naturezas/area/nova_area.blade.php b/resources/views/naturezas/area/nova_area.blade.php index 30141b8..cbb63b5 100644 --- a/resources/views/naturezas/area/nova_area.blade.php +++ b/resources/views/naturezas/area/nova_area.blade.php @@ -2,17 +2,17 @@ @section('content') -
+
-

{{ __('Criar uma nova área') }}

+

{{ __('Criar uma nova área') }}

@csrf
- + @error('nome') @@ -21,7 +21,7 @@ @enderror - +
diff --git a/resources/views/naturezas/grandeArea/editar_grande_area.blade.php b/resources/views/naturezas/grandeArea/editar_grande_area.blade.php index d29319b..6f8ebef 100644 --- a/resources/views/naturezas/grandeArea/editar_grande_area.blade.php +++ b/resources/views/naturezas/grandeArea/editar_grande_area.blade.php @@ -2,17 +2,17 @@ @section('content') -
+
-

{{ __('Editar uma área') }}

+

{{ __('Editar uma área') }}

@csrf
- + @error('nome') @@ -21,7 +21,7 @@ @enderror - +
diff --git a/resources/views/naturezas/grandeArea/nova_grande_area.blade.php b/resources/views/naturezas/grandeArea/nova_grande_area.blade.php index 388b291..5765f66 100644 --- a/resources/views/naturezas/grandeArea/nova_grande_area.blade.php +++ b/resources/views/naturezas/grandeArea/nova_grande_area.blade.php @@ -2,18 +2,18 @@ @section('content') -
+
-

{{ __('Criar uma nova área') }}

+

{{ __('Criar uma nova grande área') }}

@csrf
- - + + @error('nome') @@ -21,7 +21,7 @@ @enderror - +
diff --git a/resources/views/naturezas/subArea/editar_subarea.blade.php b/resources/views/naturezas/subArea/editar_subarea.blade.php index 53abe99..1f02f55 100644 --- a/resources/views/naturezas/subArea/editar_subarea.blade.php +++ b/resources/views/naturezas/subArea/editar_subarea.blade.php @@ -2,17 +2,17 @@ @section('content') -
+
-

{{ __('Editar uma subárea') }}

+

{{ __('Editar uma subárea') }}

@csrf
- + @error('nome') @@ -21,7 +21,7 @@ @enderror - +
diff --git a/resources/views/naturezas/subArea/index.blade.php b/resources/views/naturezas/subArea/index.blade.php index a184f67..081bec9 100644 --- a/resources/views/naturezas/subArea/index.blade.php +++ b/resources/views/naturezas/subArea/index.blade.php @@ -17,44 +17,48 @@

- - - - - - - - - @foreach ($subAreas as $subArea) - - - - - @endforeach - -
NomeOpção
- {{ $subArea->nome }} - - -
+
+
+ + + + + + + + + @foreach ($subAreas as $subArea) + + + + + @endforeach + +
NomeOpção
+ {{ $subArea->nome }} + + +
+
+
@endsection \ No newline at end of file diff --git a/resources/views/naturezas/subArea/nova_subarea.blade.php b/resources/views/naturezas/subArea/nova_subarea.blade.php index a253040..4182f98 100644 --- a/resources/views/naturezas/subArea/nova_subarea.blade.php +++ b/resources/views/naturezas/subArea/nova_subarea.blade.php @@ -2,17 +2,17 @@ @section('content') -
+
-

{{ __('Criar uma nova subárea') }}

+

{{ __('Criar uma nova subárea') }}

@csrf
- + @error('nome') @@ -21,7 +21,7 @@ @enderror - +
-- GitLab