diff options
author | Camil Staps | 2016-07-27 16:48:53 +0200 |
---|---|---|
committer | Camil Staps | 2016-07-27 17:08:12 +0200 |
commit | 21455bfd1004c4a3153050ac5995b8dc680c2042 (patch) | |
tree | b448f9d94cd9b6addb6d6b391001c418243cc13d /include/clients-overview.php | |
parent | Removed error reporting (diff) |
Class names start with a capital
Diffstat (limited to 'include/clients-overview.php')
-rw-r--r-- | include/clients-overview.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/clients-overview.php b/include/clients-overview.php index 860e671..cdced81 100644 --- a/include/clients-overview.php +++ b/include/clients-overview.php @@ -41,7 +41,7 @@ require_once('./login.php'); data-mixer-order-name='{$client->name}'> <td class='col-min-width'>{$client->id}</td> <td class='col-max-width'> - <a href='#' class='editable' id='editable-client-{$client->id}-name' data-type='text' data-pk='{$client->id}' data-url='".constants::url_external."clients/edit' data-title='Enter new name'> + <a href='#' class='editable' id='editable-client-{$client->id}-name' data-type='text' data-pk='{$client->id}' data-url='".Constants::url_external."clients/edit' data-title='Enter new name'> {$client->name} </a> </td> @@ -64,7 +64,7 @@ require_once('./login.php'); <div class="panel panel-default"> <div class="panel-heading">Create new</div> <div class="panel-body"> - <form role="form" id="newClient" action='<?=constants::url_external?>clients/new' method="post" class="bootstrapValidator ajaxify" + <form role="form" id="newClient" action='<?=Constants::url_external?>clients/new' method="post" class="bootstrapValidator ajaxify" data-ajaxify-options='{"success":"newClientSuccess","error":"newClientError","beforeSubmit":"newClientBeforeSubmit","clearForm":true}'> <div class="ajaxify-response alert alert-dismissable"><button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button><span class="ajaxify-response-text"></span></div> <div class="form-group"> |