mirror of
https://github.com/funamitech/mastodon
synced 2024-12-29 05:58:33 +09:00
5764d52b04
a basic home timeline
11 lines
411 B
Plaintext
11 lines
411 B
Plaintext
= simple_form_for Status.new, url: statuses_path, method: :post do |f|
|
|
= f.input :text, required: true, autofocus: true, label: false, placeholder: 'What are you up to?'
|
|
|
|
.form-actions
|
|
= f.button :submit, 'Post update'
|
|
|
|
- content_for :raw_content do
|
|
.activity-stream.activity-stream-embedded
|
|
- @timeline.each do |status|
|
|
= render partial: 'stream_entries/status', locals: { status: status }
|