Skip to content

Commit 67d339f

Browse files
committed
Avoid error when form label is empty
1 parent c8dafcd commit 67d339f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/keila_web/views/public_form_view.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ defmodule KeilaWeb.PublicFormView do
263263
checked: checked?,
264264
class: "mr-1"
265265
),
266-
label
266+
label || ""
267267
]
268268
end
269269
end

0 commit comments

Comments
 (0)