html - text align right/ float right in embedded ruby not working without wrapping <p> tag -
Trying to align the "Delete Schedule" text on the right without aligning "stuff on the left" to the right . In addition, the next line is not the result of "delete schedule", wrapping paragraph tags on the specific line and adding text-alignment: correct. Tried to style with embedded Ruby,
& lt; Div class = 'panel callout radius' & gt; & Lt; Li style = "list-style-type: none" & gt; & Lt;% = 'Accessories on the left'% & gt; & Lt;% = link_to 'Delete schedule', session_schedule_path (session_schedule, to: request.fullpath), Method :: Delete, Data: {Confirm: 'Are you sure to delete your schedule?'}, Style: 'text - Align: right '%' & Lt; / Li & gt; & Lt; / Div & gt;
Comments
Post a Comment