NAME
Mojolicious::Plugin::AdvancedMod::TagHelpers - HTML tag helpers for Mojolicious
HELPERS
button_to
= button_to 'GoGo', 'action' => '/api', 'class' => 'foo bar', 'data' => [qw/user root password q1w2e3/], 'submit_class' => 'btn btn-sm'
Generates a form containing a single button that submits to the URL created by the set of options.
<form action="/api" method="post" class="foo bar">
<input name="user" type="hidden" value="root">
<input name="password" type="hidden" value="q1w2e3">
<input value="GoGo" type="submit" class="btn btn-sm" />
</form>
AUTHOR
Grishkovelli grishkovelli@gmail.com
https://github.com/grishkovelli/Mojolicious-Plugin-AdvancedMod
COPYRIGHT AND LICENSE
Copyright (C) 2013, 2014 Grishkovelli grishkovelli@gmail.com
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.