Skip to content

Commit

Permalink
minor #3900 Fixed the formatting of the table headers (javiereguiluz)
Browse files Browse the repository at this point in the history
This PR was submitted for the 2.5 branch but it was merged into the 2.3 branch instead (closes #3900).

Discussion
----------

Fixed the formatting of the table headers

| Q             | A
| ------------- | ---
| Doc fix?      | yes
| New docs?     | no
| Applies to    | 2.5+
| Fixed tickets | -

Commits
-------

d043f91 Fixed the formatting of the table headers
  • Loading branch information
weaverryan committed Jun 7, 2014
2 parents 1dc8b4a + e67874c commit 349cbeb
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions components/form/form_events.rst
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ The ``FormEvents::PRE_SET_DATA`` event is dispatched at the beginning of the
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+-----------+
| **Data type** | **Value** |
+-----------------+-----------+
| Data type | Value |
+=================+===========+
| Model data | ``null`` |
+-----------------+-----------+
| Normalized data | ``null`` |
Expand Down Expand Up @@ -99,8 +99,8 @@ the form.
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+------------------------------------------------------+
| **Data type** | **Value** |
+-----------------+------------------------------------------------------+
| Data type | Value |
+=================+======================================================+
| Model data | Model data injected into ``setData()`` |
+-----------------+------------------------------------------------------+
| Normalized data | Model data transformed using a model transformer |
Expand Down Expand Up @@ -141,8 +141,8 @@ It can be used to:
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+------------------------------------------+
| **Data type** | **Value** |
+-----------------+------------------------------------------+
| Data type | Value |
+=================+==========================================+
| Model data | Same as in ``FormEvents::POST_SET_DATA`` |
+-----------------+------------------------------------------+
| Normalized data | Same as in ``FormEvents::POST_SET_DATA`` |
Expand Down Expand Up @@ -171,8 +171,8 @@ It can be used to change data from the normalized representation of the data.
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+-------------------------------------------------------------------------------------+
| **Data type** | **Value** |
+-----------------+-------------------------------------------------------------------------------------+
| Data type | Value |
+=================+=====================================================================================+
| Model data | Same as in ``FormEvents::POST_SET_DATA`` |
+-----------------+-------------------------------------------------------------------------------------+
| Normalized data | Data from the request reverse-transformed from the request using a view transformer |
Expand Down Expand Up @@ -203,8 +203,8 @@ It can be used to fetch data after denormalization.
:ref:`Form Events Information Table<component-form-event-table>`

+-----------------+---------------------------------------------------------------+
| **Data type** | **Value** |
+-----------------+---------------------------------------------------------------+
| Data type | Value |
+=================+===============================================================+
| Model data | Normalized data reverse-transformed using a model transformer |
+-----------------+---------------------------------------------------------------+
| Normalized data | Same as in ``FormEvents::POST_SUBMIT`` |
Expand Down Expand Up @@ -242,19 +242,19 @@ processed.

.. _component-form-event-table:

+--------------------+-------------------------------+------------------+
| **Name** | ``FormEvents`` **Constant** | **Event's data** |
+--------------------+-------------------------------+------------------+
| form.pre_set_data | ``FormEvents::PRE_SET_DATA`` | Model data |
+--------------------+-------------------------------+------------------+
| form.post_set_data | ``FormEvents::POST_SET_DATA`` | Model data |
+--------------------+-------------------------------+------------------+
| form.pre_bind | ``FormEvents::PRE_SUBMIT`` | Request data |
+--------------------+-------------------------------+------------------+
| form.bind | ``FormEvents::SUBMIT`` | Normalized data |
+--------------------+-------------------------------+------------------+
| form.post_bind | ``FormEvents::POST_SUBMIT`` | View data |
+--------------------+-------------------------------+------------------+
+------------------------+-------------------------------+------------------+
| Name | ``FormEvents`` Constant | Event's data |
+========================+===============================+==================+
| ``form.pre_set_data`` | ``FormEvents::PRE_SET_DATA`` | Model data |
+------------------------+-------------------------------+------------------+
| ``form.post_set_data`` | ``FormEvents::POST_SET_DATA`` | Model data |
+------------------------+-------------------------------+------------------+
| ``form.pre_bind`` | ``FormEvents::PRE_SUBMIT`` | Request data |
+------------------------+-------------------------------+------------------+
| ``form.bind`` | ``FormEvents::SUBMIT`` | Normalized data |
+------------------------+-------------------------------+------------------+
| ``form.post_bind`` | ``FormEvents::POST_SUBMIT`` | View data |
+------------------------+-------------------------------+------------------+

.. versionadded:: 2.3

Expand Down

0 comments on commit 349cbeb

Please sign in to comment.