aboutsummaryrefslogblamecommitdiffhomepage
path: root/themes/default/_pocheit-form.twig
blob: 130961594cd8db15ae50ac6402720aaa12a0baa6 (plain) (tree)




















                                                                                                                    
<div id="pocheit-form" class="messages info">
    <center>
    <form method="get" action="index.php">
        <input required placeholder="example.com/article" class="addurl" id="plainurl" name="plainurl" type="url" />
        <input type="submit" value="{% trans "save link!" %}" />
    </form>
    </center>
</div>
<script type="text/javascript">
    $(document).ready(function() {

        $("#pocheit-form").hide();

        $("#pocheit").click(function(){
            $("#pocheit-form").toggle();
            $("#pocheit").toggleClass("current");
            $("#pocheit-arrow").toggleClass("arrow-down");
        });


    });
</script>