.row
    .col-lg-12
        .page-header
            h1= t('app.search.header')
        .page-content
            .row
                .col-12.col-lg-12
                    form#search-form(role='form')
                        .form-group
                            label(for='name') Name
                            input#name.form-control(type='text',name='name',placeholder='')
                            span#help.help-block
                        .form-group
                            label(for='achievements') Number of Achievements
                            input#achievements.form-control(type='text',name='achievements',placeholder='')
                        .form-group
                            label(for='metacritic') Metacritic Score
                            input#metacritic.form-control(type='text',name='metacritic',placeholder='')
                        .form-group
                            label(for='recommendations') Number of Recommendations
                            input#recommendations.form-control(type='text',name='recommendations',placeholder='')
                        .row
                            |{@iterate key=.}
                            .form-group.col-12.col-lg-4
                                label.capitalize(for='{$key}') {$key}
                                select.form-control(name='{$key}',multiple)
                                    |{@iterate key=$value}
                                    option.capitalize(value='{$value.name}') {$value.name}
                                    |{/iterate}
                            |{/iterate}
                        button.btn.btn-primary(type='submit')= t('app.buttons.search')
.row
    .col-lg-12
        .page-header
            h1= t('app.search.header')
        .page-content
            .row
                .col-12.col-lg-12
                    form#search-form(role='form',method='GET',action='/search')
                        .form-group
                            label(for='name') Name
                            input#name.form-control(type='text',name='name',placeholder='')
                            span#help.help-block
                        .form-group
                            label(for='achievements') Number of Achievements
                            input#achievements.form-control(type='text',name='achievements',placeholder='')
                        .form-group
                            label(for='metacritic') Metacritic Score
                            input#metacritic.form-control(type='text',name='metacritic',placeholder='')
                        .form-group
                            label(for='recommendations') Number of Recommendations
                            input#recommendations.form-control(type='text',name='recommendations',placeholder='')
                        .row
                            |{@iterate key=.}
                            .form-group.col-12.col-lg-4
                                label.capitalize(for='{$key}') {$key}
                                select.form-control(name='{$key}',multiple)
                                    |{@iterate key=$value}
                                    option.capitalize(value='{$value.name}') {$value.name}
                                    |{/iterate}
                            |{/iterate}
                        button.btn.btn-primary(type='submit')= t('app.buttons.search')
Update form to submit to URL
Update form to submit to URL
