Skip to content

Commit 9e2e6cd

Browse files
Merge pull request #91 from daprezjer/patch-1
Adding numeric and JSON as types
2 parents a613152 + d94a774 commit 9e2e6cd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

resources/views/index.blade.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,15 @@ class="inline-flex text-xs"
278278
@if (str_contains($rule, 'integer'))
279279
<span class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-blue-800 bg-blue-300 rounded">Integer</span>
280280
@endif
281+
@if (str_contains($rule, 'numeric'))
282+
<span class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-blue-800 bg-blue-300 rounded">Numeric</span>
283+
@endif
281284
@if (str_contains($rule, 'string'))
282285
<span class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-green-100 bg-green-500 rounded">String</span>
283286
@endif
287+
@if (str_contains($rule, 'json'))
288+
<span class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-green-100 bg-green-500 rounded">JSON</span>
289+
@endif
284290
@if (str_contains($rule, 'array'))
285291
<span class="inline-flex items-center justify-center px-2 py-1 text-xs font-bold leading-none text-gray-800 bg-blue-200 rounded">Array</span>
286292
@endif

0 commit comments

Comments
 (0)