set content to textarea and remove from index pages
This commit is contained in:
parent
127757b12a
commit
fa866cc10e
|
@ -3,7 +3,7 @@
|
|||
Oops, something went wrong! Please check the errors below.
|
||||
</.error>
|
||||
<.input field={f[:name]} type="text" label="Name" />
|
||||
<.input field={f[:content]} type="text" label="Content" />
|
||||
<.input field={f[:content]} type="textarea" label="Content" />
|
||||
<.input
|
||||
field={f[:visibility]}
|
||||
type="select"
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
<.table id="channels" rows={@channels} row_click={&JS.navigate(~p"/channels/#{&1}")}>
|
||||
<:col :let={channel} label="Name"><%= channel.name %></:col>
|
||||
<:col :let={channel} label="Content"><%= channel.content %></:col>
|
||||
<:col :let={channel} label="Visibility"><%= channel.visibility %></:col>
|
||||
<:col :let={channel} label="Slug"><%= channel.slug %></:col>
|
||||
<:action :let={channel}>
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
<.table id="notes" rows={@notes} row_click={&JS.navigate(~p"/notes/#{&1}")}>
|
||||
<:col :let={note} label="Name"><%= note.name %></:col>
|
||||
<:col :let={note} label="Content"><%= note.content %></:col>
|
||||
<:col :let={note} label="Slug"><%= note.slug %></:col>
|
||||
<:col :let={note} label="Published at"><%= note.published_at %></:col>
|
||||
<:col :let={note} label="Kind"><%= note.kind %></:col>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
Oops, something went wrong! Please check the errors below.
|
||||
</.error>
|
||||
<.input field={f[:name]} type="text" label="Name" />
|
||||
<.input field={f[:content]} type="text" label="Content" />
|
||||
<.input field={f[:content]} type="textarea" label="Content" />
|
||||
<.input field={f[:slug]} type="text" label="Slug" />
|
||||
<.input field={f[:published_at]} type="datetime-local" label="Published at" />
|
||||
<.input field={f[:kind]} type="text" label="Kind" />
|
||||
|
|
Loading…
Reference in New Issue