if cards
    .ui.main.fluid.vertical.segment
        .ui.three.cards
            for card in cards
                .ui.card
                    .content
                        .header(href="##{card.name}") #{card.name}
                    .content
                        img.left.floated.small.ui.image(src="http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=#{card.multiverseId}&type=card")
                        .ui.violet.labels
                            .ui.label lorem ipsum
                            .ui.label dolor sit amet
                            .ui.label consectetuer
                            .ui.label adipiscing elit
                    .ui.bottom.attached.button View details
                        i.angle.double.right.icon

else
    .ui.main.fluid.vertical.segment
        .ui.violet.message No results
if cards
    .ui.main.fluid.vertical.segment
        .ui.three.cards
            for card in cards
                .ui.card
                    .content
                        .header #{card.name}
                    .content
                        img.left.floated.small.ui.image(src="http://gatherer.wizards.com/Handlers/Image.ashx?multiverseid=#{card.multiverseId}&type=card")
                        .ui.violet.labels
                            .ui.label lorem ipsum
                            .ui.label dolor sit amet
                            .ui.label consectetuer
                            .ui.label adipiscing elit
                    .ui.bottom.attached.button(
                        ic-post-to="/ic/card/#{card.multiverseId}",
                        ic-target="#card"
                        ) View details
                        i.angle.double.right.icon

else
    .ui.main.fluid.vertical.segment
        .ui.violet.message No results
Add button to show a card
[view] Add button to show a card
