app/views/reposts/select.html.haml
= turbo_frame_tag dom_id(@reposting, "select_repost_type") do
.modal
.modal_content
= turbo_frame_tag "new_post" do
.row.mb-3
.col-12
= link_to root_path, class: "close-btn",
data: { turbo_frame: dom_id(@reposting, "repost_form") },
title: 'Close' do
%i.fa-solid.fa-xmark
.row.center-all.mb-3
.col-5.col-lg-4
= render "reposts/repost_button", post: @reposting
.col-7.col-lg-4
= link_to new_post_path(repost: { post_id: @reposting.id }),
class: "btn btn-link black" do
%i.fa-solid.fa-quote-left.fa-sm
%i.me-1.fa-solid.fa-repeat.fa-xl
Quoted Repost
%i.fa-solid.fa-quote-right.fa-sm