mirror of
https://github.com/ash-project/ash_admin.git
synced 2024-09-19 12:53:28 +12:00
chore: fix typespecs, update .formatter
This commit is contained in:
parent
908efc78d8
commit
289961b737
2 changed files with 3 additions and 2 deletions
|
@ -9,6 +9,7 @@ locals_without_parens = [
|
|||
name: 1,
|
||||
polymorphic_tables: 1,
|
||||
read_actions: 1,
|
||||
relationship_display_fields: 1,
|
||||
show_action: 1,
|
||||
table_columns: 1,
|
||||
type: 1,
|
||||
|
|
|
@ -118,7 +118,7 @@ defmodule AshAdmin.Components.Resource.Form do
|
|||
<div class="shadow-lg overflow-hidden sm:rounded-md bg-white">
|
||||
<div :if={{ @form.submitted_once? }} class="ml-4 mt-4 text-red-500">
|
||||
<ul>
|
||||
<li :for={{ {field, message} <- AshPhoenix.Form.errors(@form) || [] }}>
|
||||
<li :for={{ {field, message} <- AshPhoenix.Form.errors(@form) }}>
|
||||
<span :if={{field}}>
|
||||
{{ to_name(field) }}:
|
||||
</span>
|
||||
|
@ -276,7 +276,7 @@ defmodule AshAdmin.Components.Resource.Form do
|
|||
>
|
||||
<div :if={{ @form.submitted_once? }} class="ml-4 mt-4 text-red-500">
|
||||
<ul>
|
||||
<li :for={{ {field, message} <- AshPhoenix.Form.errors(@form, inner_form.name) || [] }}>
|
||||
<li :for={{ {field, message} <- AshPhoenix.Form.errors(@form, inner_form.name) }}>
|
||||
<span :if={{field}}>
|
||||
{{ to_name(field) }}:
|
||||
</span>
|
||||
|
|
Loading…
Reference in a new issue