Skip to content

Commit d257ac0

Browse files
committed
Set input_label type in show panel
1 parent f96ccd4 commit d257ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/backpex/html/resource.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ defmodule Backpex.HTML.Resource do
866866
<div :for={{name, %{label: label}} <- @panel_fields}>
867867
<.field_container>
868868
<:label>
869-
<.input_label text={label} />
869+
<.input_label as="span" text={label} />
870870
</:label>
871871
<.resource_field name={name} {assigns} />
872872
</.field_container>

0 commit comments

Comments
 (0)