mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-04 03:17:35 -05:00 
			
		
		
		
	Update contact.blade.php
update blade template to use language translation features Signed-off-by: Kendall Arneaud <kendall.arneaud@gmail.com>
This commit is contained in:
		
							parent
							
								
									e1cd7e879c
								
							
						
					
					
						commit
						dd109760f9
					
				@ -1,69 +1,66 @@
 | 
				
			|||||||
 | 
					 | 
				
			||||||
<div class="px-4 py-5 border-b border-gray-200 sm:px-6">
 | 
					<div class="px-4 py-5 border-b border-gray-200 sm:px-6">
 | 
				
			||||||
    <h3 class="text-lg font-medium leading-6 text-gray-900">
 | 
					    <h3 class="text-lg font-medium leading-6 text-gray-900">
 | 
				
			||||||
                Account Holder Information
 | 
					        {{ ctrans('texts.account_holder_information') }}
 | 
				
			||||||
    </h3>
 | 
					    </h3>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <p class="max-w-2xl mt-1 text-sm leading-5 text-gray-500">
 | 
					    <p class="max-w-2xl mt-1 text-sm leading-5 text-gray-500">
 | 
				
			||||||
                Enter the information for the account holder
 | 
					        {{ ctrans('texts.enter_the_information_for_the_account_holder') }}
 | 
				
			||||||
    </p>
 | 
					    </p>
 | 
				
			||||||
        </div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
<div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
					<div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
				
			||||||
    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
					    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
				
			||||||
            Full Name
 | 
					        {{ ctrans('texts.full_name') }}
 | 
				
			||||||
    </dt>
 | 
					    </dt>
 | 
				
			||||||
    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
					    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
				
			||||||
            <input class="input w-full" id="name" name="name" type="text" placeholder="Full Name" required value="{{ old('name',$name) }}">
 | 
					        <input class="input w-full" id="name" name="name" type="text" placeholder="{{ ctrans('texts.full_name') }}" required value="{{ old('name', $name) }}">
 | 
				
			||||||
    </dd>
 | 
					    </dd>
 | 
				
			||||||
    </div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
				
			||||||
    <div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
					 | 
				
			||||||
    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
					    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
				
			||||||
            Email Address
 | 
					        {{ ctrans('texts.email_address') }}
 | 
				
			||||||
    </dt>
 | 
					    </dt>
 | 
				
			||||||
    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
					    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
				
			||||||
            <input class="input w-full" name="email" id="email" type="email" placeholder="Email Address" required value="{{ old('email',$email) }}">
 | 
					        <input class="input w-full" name="email" id="email" type="email" placeholder="{{ ctrans('texts.email_address') }}" required value="{{ old('email', $email) }}">
 | 
				
			||||||
    </dd>
 | 
					    </dd>
 | 
				
			||||||
    </div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
					<div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
				
			||||||
    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
					    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
				
			||||||
            Home Phone
 | 
					        {{ ctrans('texts.home_phone') }}
 | 
				
			||||||
    </dt>
 | 
					    </dt>
 | 
				
			||||||
    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
					    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
				
			||||||
            <input class="input w-full" id="home_phone" name="home_phone" type="text" placeholder="Home Phone" required value="{{ old('phone',$phone) }}">
 | 
					        <input class="input w-full" id="home_phone" name="home_phone" type="text" placeholder="{{ ctrans('texts.home_phone') }}" required value="{{ old('home_phone', $home_phone) }}">
 | 
				
			||||||
    </dd>
 | 
					    </dd>
 | 
				
			||||||
    </div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
					<div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
				
			||||||
    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
					    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
				
			||||||
            Other Phone
 | 
					        {{ ctrans('texts.other_phone') }}
 | 
				
			||||||
    </dt>
 | 
					    </dt>
 | 
				
			||||||
    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
					    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
				
			||||||
            <input class="input w-full" id="phone" name="phone" type="text" placeholder="Phone" required value="{{ old('phone',$phone) }}">
 | 
					        <input class="input w-full" id="phone" name="phone" type="text" placeholder="{{ ctrans('texts.other_phone') }}" required value="{{ old('phone', $phone) }}">
 | 
				
			||||||
    </dd>
 | 
					    </dd>
 | 
				
			||||||
    </div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
					<div class="px-4 py-2 sm:px-6 lg:grid lg:grid-cols-3 lg:gap-4 lg:flex lg:items-center">
 | 
				
			||||||
    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
					    <dt class="text-sm leading-5 font-medium text-gray-500 mr-4">
 | 
				
			||||||
            Customer Type
 | 
					        {{ ctrans('texts.customer_type') }}
 | 
				
			||||||
    </dt>
 | 
					    </dt>
 | 
				
			||||||
    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
					    <dd class="mt-1 text-sm leading-5 text-gray-900 sm:mt-0 sm:col-span-2">
 | 
				
			||||||
        <div class="sm:grid-cols-2 sm:flex">
 | 
					        <div class="sm:grid-cols-2 sm:flex">
 | 
				
			||||||
            <div class="flex items-center px-2">
 | 
					            <div class="flex items-center px-2">
 | 
				
			||||||
                <input id="customer_type_personal" name="customer_type" value="Personal" required @checked(old('customer_type', $customer_type) == 'Personal') type="radio" class="focus:ring-gray-500 h-4 w-4 border-gray-300 disabled:opacity-75 disabled:cursor-not-allowed">
 | 
					                <input id="customer_type_personal" name="customer_type" value="Personal" required @checked(old('customer_type', $customer_type) == 'Personal') type="radio" class="focus:ring-gray-500 h-4 w-4 border-gray-300 disabled:opacity-75 disabled:cursor-not-allowed">
 | 
				
			||||||
                <label for="customer_type_personal" class="ml-3 block text-sm font-medium cursor-pointer">Personal</label>
 | 
					                <label for="customer_type_personal" class="ml-3 block text-sm font-medium cursor-pointer">{{ ctrans('texts.personal') }}</label>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
            <div class="flex items-center px-2">
 | 
					            <div class="flex items-center px-2">
 | 
				
			||||||
                <input id="customer_type_business" name="customer_type" value="Business" required @checked(old('customer_type', $customer_type) == 'Business') type="radio" class="focus:ring-gray-500 h-4 w-4 border-gray-300 disabled:opacity-75 disabled:cursor-not-allowed">
 | 
					                <input id="customer_type_business" name="customer_type" value="Business" required @checked(old('customer_type', $customer_type) == 'Business') type="radio" class="focus:ring-gray-500 h-4 w-4 border-gray-300 disabled:opacity-75 disabled:cursor-not-allowed">
 | 
				
			||||||
                <label for="customer_type_business" class="ml-3 block text-sm font-medium cursor-pointer">Business</label>
 | 
					                <label for="customer_type_business" class="ml-3 block text-sm font-medium cursor-pointer">{{ ctrans('texts.business') }}</label>
 | 
				
			||||||
            </div>
 | 
					            </div>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
    </dd>
 | 
					    </dd>
 | 
				
			||||||
    </div>
 | 
					</div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<input name="id" type="hidden" value="{{ old('id', $id) }}">
 | 
				
			||||||
    <input name="id" type="hidden" value="{{ old('id',  $id ) }}">
 | 
					<input name="custom_identifier" type="hidden" value="{{ old('custom_identifer', $contact['custom_identifier']) }}">
 | 
				
			||||||
        <input name="custom_identifier" type="hidden" value="{{ old('custom_identifer', $contact['custom_identifier']) }}">
 | 
					 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user