# propertyhive/1.4.50/templates/account/details.php

Property Hive, version 1.4.50. 41 lines.

- Page: https://pluginprobe.com/plugins/propertyhive/1.4.50/code/templates/account/details.php
- Raw: https://pluginprobe.com/plugins/propertyhive/1.4.50/raw/templates/account/details.php
- Modified: 2017-05-22T15:22:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/propertyhive/1.4.50/code/templates/account/details.php#L10-L20`.

```php
<?php
/**
 * Outputs the 'My Details' form shown within 'My Account'
 *
 * This template can be overridden by copying it to yourtheme/propertyhive/account/details.php.
 *
 * @author      PropertyHive
 * @package     PropertyHive/Templates
 * @version     1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?>

<form name="ph_account_details_form" class="propertyhive-form account-details-form" action="" method="post">
 	
	<div id="detailsSuccess" style="display:none;" class="alert alert-success alert-box success">
        <?php _e( 'Thank you. Your details have been updated succesfully.', 'propertyhive' ); ?>
    </div>
    <div id="detailsError" style="display:none;" class="alert alert-danger alert-box">
        <?php _e( 'An error occurred whilst trying to update your details. Please try again.', 'propertyhive' ); ?>
    </div>
    <div id="detailsValidation" style="display:none;" class="alert alert-danger alert-box">
        <?php _e( 'Please ensure all required fields have been completed', 'propertyhive' ); ?>
    </div>

    <?php do_action( 'propertyhive_account_details_form_start' ); ?>

    <?php foreach ( $form_controls as $key => $field ) : ?>

        <?php ph_form_field( $key, $field ); ?>

    <?php endforeach; ?>

    <?php do_action( 'propertyhive_account_details_form' ); ?>

    <input type="submit" value="<?php _e( 'Update Details', 'propertyhive' ); ?>">

    <?php do_action( 'propertyhive_account_details_form_end' ); ?>

</form>
```
