different templates depending on story text length
This commit is contained in:
@ -32,4 +32,8 @@
|
||||
Sign out
|
||||
|
||||
- @member.stories.each do |story|
|
||||
=render "stories/inline" , story: story
|
||||
=render_story( story )
|
||||
.flex.justify-around
|
||||
= link_to edit_story_path(story) do
|
||||
%button.bg-cyan-200.mr-3.inline-block.rounded-lg.px-4.py-3.text-md.font-medium.border.border-gray-400
|
||||
Edit Story
|
||||
|
Reference in New Issue
Block a user