Mojolicious::Plugin::AdvancedMod::TagHelpers - HTML tag helpers for Mojolicious
= 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>
Grishkovelli grishkovelli@gmail.com
https://github.com/grishkovelli/Mojolicious-Plugin-AdvancedMod
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.
To install Mojolicious::Plugin::AdvancedMod, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Mojolicious::Plugin::AdvancedMod
CPAN shell
perl -MCPAN -e shell install Mojolicious::Plugin::AdvancedMod
For more information on module installation, please visit the detailed CPAN module installation guide.