• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Songmu / html-shakan / 57 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 26 Apr 2017 02:59AM UTC
Files 17
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Apr 2017 02:56AM UTC coverage: 36.859% (-63.1%) from 100.0%
57.1

Pull #16

travis-ci

web-flow
Add prepend_field() and append_field() to Shakan.

These two methods add fields at the beginning and the end of the fields
list using Mouse's traits feature.

The idea behind these two methods is to be able to easily add fields
without manually unpacking the 'fields' attribute. Something like :

    my $user_form = $form_factory->get_user_form();

    get '/user/new' => sub {
        my ($self, $c) = @_;
        $user_form->prepend_field(Textfield(name => 'user_name'));
        ...
    };

    get '/user/edit/:user_id' => sub {
        my ($self, $c) = @_;
        $user_form->append_field(
          Hiddenfield(name => 'user_name', value => $c->args->{user_id})
        );
        ...
    };
Pull Request #16: Add prepend_field() and append_field() to Shakan.

115 of 312 relevant lines covered (36.86%)

4.52 hits per line

Source Files on job 57.1
  • Tree
  • List 0
  • Changed 15
  • Source Changed 2
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 57
  • Travis Job 57.1
  • 57ad527b on github
  • Prev Job for on master (#54.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc