Sha256: 3b4447d2eac54073835b57fe61948cc84633bb6cf5a6f87ec6b75130dcc2fcb7

Contents?: true

Size: 211 Bytes

Versions: 3

Compression:

Stored size: 211 Bytes

Contents

- person_type = people.current_mp? ? "member" : "lord"

%li
  = render partial: "pugin/people/list/#{person_type}/#{person_type}", locals: { "#{person_type}": local_assigns.fetch(:people, []), as: person_type }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pugin-1.6.8 app/views/pugin/people/list/_list.html.haml
pugin-1.6.7 app/views/pugin/people/list/_list.html.haml
pugin-1.6.6 app/views/pugin/people/list/_list.html.haml