2017 © Pedro Peláez
 

library tf-form

Better default markup for ZF's form helpers

image

tfountain/tf-form

Better default markup for ZF's form helpers

  • Monday, May 28, 2018
  • by tfountain
  • Repository
  • 1 Watchers
  • 0 Stars
  • 23 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Tf-form

This module extends the default Zend Form view helpers (currently just formRow) in order to provide some easier to style markup out of the box., (*1)

Each form element is wrapped with a div. This div has the class form-row for general form styling, plus a class based on the element type (e.g. form-row-checkbox). It also has an id based on the form element id but with -row appended., (*2)

Example:, (*3)

<div id="name-row" class="form-row form-row-text">
    <label>
        <span>Name</span>
        <input type="text" name="name" value="">
    </label>
</div>

The Versions

28/05 2018

dev-master

9999999-dev

Better default markup for ZF's form helpers

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0

 

28/05 2018

2.1.0

2.1.0.0

Better default markup for ZF's form helpers

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0

 

22/04 2018

2.0.1

2.0.1.0

Better default markup for ZF's form helpers

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0

 

22/04 2018

2.0

2.0.0.0

Better default markup for ZF's form helpers

  Sources   Download

BSD-3-Clause

The Requires

  • php ^5.6 || ^7.0

 

22/04 2018

1.0

1.0.0.0

Better default markup for ZF's form helpers

  Sources   Download

BSD-3-Clause

The Requires

  • php >=5.3.3