mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 12:11:40 +01:00
5764d52b04
a basic home timeline
10 lines
411 B
Text
10 lines
411 B
Text
= 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 }
|