Skip to content

Commit

Permalink
Fixed the formatting of the table headers
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz authored and weaverryan committed Jun 7, 2014
1 parent 1dc8b4a commit e67874c
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 e67874c

Please sign in to comment.