summaryrefslogblamecommitdiffstats
path: root/static/contact/submit/submit.html
blob: 5929208fcc0112611e7d55dd8415a3f12b1acd97 (plain) (tree)
1
2
3
4
5
6
7



                                                      
 
                                                                            
 




                                                       

































                                                                               





                                                     
<?php
include(__DIR__ . '/../../includes/html-open.html');
include(__DIR__ . '/../../includes/header-open.html');
?>

<title>Submit &mdash; Contact &mdash; Free Software Foundation India</title>

<?php
include(__DIR__ . '/../../includes/header-close.html');
include(__DIR__ . '/../../includes/body-open.html');
include(__DIR__ . '/../../includes/navbar.html');
?>

<div class="container main">
    <section class="section">
        <div class="content">
            <header>
                <h1>Contact</h1>
            </header>

            <div class="columns">
                <div class="column is-three-fifths">

                    <?php if ($result['ok']) { ?>
                        <p>We'll get back to you soon!</p>
                    <?php } else { ?>
                        <p>Oops! There were some issues:</p>

                        <ul>
                            <?php foreach ($result['errors'] as $e) { ?>
                                <li><?=$e?></li>
                            <?php } ?>
                        </ul>

                        <a class="button is-link" href="/contact">Try again</a>
                    <?php } ?>


                </div> <!-- end column -->
            </div> <!-- end columns -->

        </div>
    </section>

</div>

<?php
include(__DIR__ . '/../../includes/footer.html');
include(__DIR__ . '/../../includes/js.html');
include(__DIR__ . '/../../includes/body-close.html');
include(__DIR__ . '/../../includes/html-close.html');
?>