wallabag/themes/default/_pocheit-form.twig

23 lines
643 B
Twig
Raw Normal View History

<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>