# `MishkaGervaz.Form.Entities.Footer`
[🔗](https://github.com/mishka-group/mishka_gervaz/blob/v0.0.1-alpha.3/lib/mishka_gervaz/form/entities/footer.ex#L1)

Form footer — content rendered below the submit row.

Accepts a static or dynamic `content` block, a custom HEEx render
escape hatch, and visibility / restriction gating consistent with
`MishkaGervaz.Form.Entities.Field` and
`MishkaGervaz.Form.Entities.Group`. `content` accepts a string or
zero-/one-arity function so the footer can reflect form state.

## Example

    layout do
      footer do
        content fn state -> "Last updated by #{state.field_values[:updated_by]}" end
        class "mt-4 text-xs text-gray-500"
      end
    end

See `MishkaGervaz.Form.Dsl.Layout` for the surrounding section.

# `t`

```elixir
@type t() :: %MishkaGervaz.Form.Entities.Footer{
  __spark_metadata__: map() | nil,
  class: String.t() | nil,
  content: String.t() | (-&gt; String.t()) | (map() -&gt; String.t()) | nil,
  extra: map(),
  render:
    (map() -&gt; Phoenix.LiveView.Rendered.t())
    | (map(), map() -&gt; Phoenix.LiveView.Rendered.t())
    | nil,
  restricted: boolean() | (map() -&gt; boolean()),
  visible: boolean() | (map() -&gt; boolean())
}
```

# `transform`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
