I created a custom template called "_list_two_lines"
%ul{:style=>"padding-top: 0; margin-top: 0"}
- content.each do |element|
%li{:style=>"font-family: Roboto, sans-serif; color: #333;font-weight: 300; font-size: 14px; "}
✓
= render :partial => _text, :locals => {:inline =>true, :content => element[0] , :weight => bold_weight_email}
%br
= render :partial => _text, :locals => {:inline =>true, :content => element[1]}
Below is how I reference it in the html.haml file:
= render :partial => _list_two_lines, :locals => {:content => [["welcome to this forum","You need sign up first")]]}
Is it possible to include a link for "sign up" within the template? How can I modify the template to achieve this and redirect users to another URL upon clicking on the sign-up link?