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

adamwathan / bootforms / 154 / 2
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2017 02:55PM UTC
Files 10
Run time 0s
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

25 Apr 2017 02:52PM UTC coverage: 91.085% (-1.4%) from 92.52%
154.2

Pull #132

travis-ci

web-flow
Support for `->required()` on the label within a form group

By intercepting the `required($conditional)` function here we will add automatically the `control-label-required` CSS class to the `<label>` HTML element.

This way you are able to use CSS to style the `<label>` HTML element however you want, you can even use pseudo-elements to add an asterisk:
```css
label.control-label-required:after {
    content: " *";
}
```

Obviously we wont interfere with Form Builder and we'll call the `required()` function defined within `adamwathan/form` no matter what. The CSS class will just be added conditionally.
Pull Request #132: Support for `->required()` on the label within a form group

235 of 258 relevant lines covered (91.09%)

15.43 hits per line

Source Files on job 154.2
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 154
  • Travis Job 154.2
  • 13475cf4 on github
  • Prev Job for on master (#153.2)
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