Commit 6bd23d4b authored by Hussain Kashef's avatar Hussain Kashef

Removed comments

parent 93e21cdc
function clientForm() {
$('.reserve-client-action-cell').on('click', ({ target }) => {
const cell = $(target).closest('td')
console.log(cell)
const { clientId } = cell.data()
$.ajax({
url: `/clients/${clientId}/reserve`,
......
......@@ -13,7 +13,6 @@
button.btn.btn-default= t('unreserve_client')
- else
button.btn.btn-default= t('reserve_client')
/ td= button_link t('reserve_client'), reserve_client_path(client_id: client, volunteer_id: @volunteer), id: "reserve_client#{client.id}", remote: true, method: :put
td= t("salutation.#{client.salutation}") if client.salutation?
td= link_to client.contact.full_name, edit_client_path(client)
td= client.contact.city
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment