This particular part is a pain because of how render rich text works.
Only way i could get html span into paragraph

Could just let time stamp sit below introduction text. Less nice view,
nicer code. What do you think
On 26/04/2014 10:48 am, "Robert Guthrie" <notifications@github.com> wrote:

> In app/views/groups/manage_membership_requests/index.html.haml:
>
> >        %tr
> > -        %th #{t(:name)} & #{t('common.email')}
> > -        %th Introduction
> > -        %th= " "#t(:approve)
> > -        %th= " "#t(:ignore_request)
> > -      -pending_requests.where('response IS ?', nil).each do |request|
> > -        %tr
> > -          %td #{request.name} &lt;#{request.email}&gt;
> > -          %td= render_rich_text(request.introduction, false)
> > -          %td= link_to t(:approve), approve_membership_request_path(request), method: :post, id: "approve-membership-request-#{request.id}"
> > -          %td= link_to t(:ignore), ignore_membership_request_path(request), method: :post, id: "ignore-membership-request-#{request.id}"
> > -  -else
> > -    = t(:no_pending_membership_requests)
> > +        =render 'requestor', request: request
> > +        %td
> > +          -time_insert = "<span class='time-ago-subtle'> #{t(:ago, quantity_of_time: time_ago_in_words(request.created_at))}</span></p>"
>
> This looks like you're doing it wrong. Why the dangling
> just to chomp it afterwards? and why the string of html and the html_safe
> upon it all? Can you have a go at making all the html part of the template?
> I think it would clean this up.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/loomio/loomio/pull/1463/files#r12019393>
> .
>