devel #123
3 changed files with 6 additions and 15 deletions
|
@ -72,7 +72,7 @@ if config_env() == :prod do
|
||||||
|
|
||||||
config :waffle,
|
config :waffle,
|
||||||
storage_dir_prefix: upload_dir
|
storage_dir_prefix: upload_dir
|
||||||
|
|
||||||
# ## SSL Support
|
# ## SSL Support
|
||||||
#
|
#
|
||||||
# To get SSL working, you will need to add the `https` key
|
# To get SSL working, you will need to add the `https` key
|
||||||
|
|
|
@ -166,12 +166,7 @@ defmodule ChiyaWeb.PublicComponents do
|
||||||
|
|
||||||
def comment_form(assigns) do
|
def comment_form(assigns) do
|
||||||
~H"""
|
~H"""
|
||||||
<.simple_form
|
<.simple_form :let={f} for={@changeset} action="" class="bg-theme-background -m-3">
|
||||||
:let={f}
|
|
||||||
for={@changeset}
|
|
||||||
action={~p"/note/#{assigns.note.slug}/comment"}
|
|
||||||
class="bg-theme-background -m-3"
|
|
||||||
>
|
|
||||||
<.error :if={@changeset.action}>
|
<.error :if={@changeset.action}>
|
||||||
Oops, something went wrong! Please check the errors below.
|
Oops, something went wrong! Please check the errors below.
|
||||||
</.error>
|
</.error>
|
||||||
|
|
|
@ -14,17 +14,13 @@
|
||||||
<.input field={f[:user_agent]} type="text" label="User agent" />
|
<.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_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[:custom_html]} type="textarea" label="Custom html" class="font-mono" />
|
||||||
<.input
|
<.input field={f[:home_channel_id]} type="select" label="Home Channel" options={@channels} />
|
||||||
field={f[:home_channel_id]}
|
<.input
|
||||||
|
field={f[:micropub_channel_id]}
|
||||||
type="select"
|
type="select"
|
||||||
label="Home Channel"
|
label="Micropub Channel"
|
||||||
options={@channels}
|
options={@channels}
|
||||||
/>
|
/>
|
||||||
<.input
|
|
||||||
field={f[:micropub_channel_id]}
|
|
||||||
type="select"
|
|
||||||
label="Micropub Channel" options={@channels}
|
|
||||||
/>
|
|
||||||
<.input
|
<.input
|
||||||
field={f[:default_channel_id]}
|
field={f[:default_channel_id]}
|
||||||
type="select"
|
type="select"
|
||||||
|
|
Loading…
Reference in a new issue