aboutsummaryrefslogtreecommitdiffhomepage
path: root/themes/default/_pocheit-form.twig
blob: 130961594cd8db15ae50ac6402720aaa12a0baa6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<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>