mix format

This commit is contained in:
Inhji 2023-06-11 22:22:22 +02:00
parent 627c758acd
commit 8ef8ad14b2
3 changed files with 6 additions and 15 deletions

View file

@ -72,7 +72,7 @@ if config_env() == :prod do
config :waffle,
storage_dir_prefix: upload_dir
# ## SSL Support
#
# To get SSL working, you will need to add the `https` key

View file

@ -166,12 +166,7 @@ defmodule ChiyaWeb.PublicComponents do
def comment_form(assigns) do
~H"""
<.simple_form
:let={f}
for={@changeset}
action={~p"/note/#{assigns.note.slug}/comment"}
class="bg-theme-background -m-3"
>
<.simple_form :let={f} for={@changeset} action="" class="bg-theme-background -m-3">
<.error :if={@changeset.action}>
Oops, something went wrong! Please check the errors below.
</.error>

View file

@ -14,17 +14,13 @@
<.input field={f[:user_agent]} type="text" label="User agent" />
<.input field={f[:custom_css]} type="textarea" label="Custom css" class="font-mono" />
<.input field={f[:custom_html]} type="textarea" label="Custom html" class="font-mono" />
<.input
field={f[:home_channel_id]}
<.input field={f[:home_channel_id]} type="select" label="Home Channel" options={@channels} />
<.input
field={f[:micropub_channel_id]}
type="select"
label="Home Channel"
label="Micropub Channel"
options={@channels}
/>
<.input
field={f[:micropub_channel_id]}
type="select"
label="Micropub Channel" options={@channels}
/>
<.input
field={f[:default_channel_id]}
type="select"