Expand subject content automatically when config is set.
This commit is contained in:
parent
bfd5d79826
commit
e27c61218d
2 changed files with 8 additions and 1 deletions
|
|
@ -5,7 +5,7 @@
|
|||
<%= render("_user_card.html", %{user: @user}) %>
|
||||
<div class="activity-content">
|
||||
<%= if @title != "" do %>
|
||||
<details>
|
||||
<details <%= if open_content?() do %>open<% end %>>
|
||||
<summary><%= raw @title %></summary>
|
||||
<div class="e-content"><%= raw @content %></div>
|
||||
</details>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue