Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !18704

Extend form docs with example form errors

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge github/fork/tordans/v4-dev into v4-dev Dec 27, 2015
  • Overview 0
  • Commits 734
  • Pipelines 0
  • Changes 210

Created by: tordans

Forms should show a error message whenever there is an error. This can be done nicely in bootstrap with the .text-help class. But until know people hat to figure that out by themselves.

This commit extends the example html with dummy error messages for the warning and danger cases. It also shows a case where a text-help paragraph is combined with an text-muted paragraph, wich requires an additional m-b-0 at the moment (see https://github.com/twbs/bootstrap/issues/18703). In addition to that I extended the introduction to specify the .text-help class as the right way to show error messages in general. The .text-help is not explained in the form-docs yet, but it should.

This is what the new docs look like: bildschirmfoto 2015-12-27 um 14 51 49

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/tordans/v4-dev