Compare commits
	
		
			1 Commits
		
	
	
		
			0aabd45cd8
			...
			improve-lo
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 8500ba826f | 
| @@ -277,17 +277,30 @@ | ||||
|                               </button> | ||||
|                               <div class="mt-8"> | ||||
|                               <h2 class="h3">Eintrag '{{ log.boat.name }}' ändern </h2> | ||||
|                               <p class="text-center mb-3">{{ log.id }}</p> | ||||
|                               <p class="text-center mb-3">ID: {{ log.id }}</p> | ||||
|                                <form action="/log/update" method="post" class="grid gap-3"> | ||||
|                         <input type="hidden" name="id" value="{{ log.id }}" /> | ||||
|                         <input type="hidden" name="boat_id" value="{{ log.boat_id }}" /> | ||||
|                         <input type="hidden" name="shipmaster" value="{{ log.shipmaster }}" /> | ||||
|                         <input type="hidden" | ||||
|                                name="steering_person" | ||||
|                                value="{{ log.steering_person }}" /> | ||||
|                         {{ macros::select(label="Boot", data=boats, name="boat_id", id="boat_id{{ log.id }}", selected_id=log.boat.id ,display=["name", " (","amount_seats", " x)"]) }} | ||||
|                         {{ macros::select(label="Schiffsführer", data=log.rowers, name="shipmaster", id="shipmaster{{ log.id }}", selected_id=log.shipmaster_user.id) }} | ||||
|  | ||||
|  | ||||
|                         {{ macros::checkbox(label='Handgesteuert', name='shipmaster_only_steering', id=log.shipmaster_only_steering,checked=log.shipmaster_only_steering) }} | ||||
|                         <input type="datetime-local" class="input rounded-md" name="departure" value="{{ log.departure }}" /> | ||||
|                         <input type="datetime-local" class="input rounded-md" name="arrival" value="{{ log.arrival }}" /> | ||||
|                         <div> | ||||
|                             <label for="departure" class=" text-sm text-gray-600 dark:text-white "> | ||||
|                                 Abfahrt | ||||
|                             </label> | ||||
|                             <input type="datetime-local" class="input rounded-md" name="departure" value="{{ log.departure }}" /> | ||||
|                         </div> | ||||
|                         <div> | ||||
|                             <label for="arrival" class=" text-sm text-gray-600 dark:text-white "> | ||||
|                                 Ankunft | ||||
|                             </label> | ||||
|                             <input type="datetime-local" class="input rounded-md" name="arrival" value="{{ log.arrival }}" /> | ||||
|                         </div> | ||||
|                    | ||||
|                         <input type="hidden" name="destination" value="{{ log.destination }}" /> | ||||
|                         <input type="hidden" name="distance_in_km" value="{{ log.distance_in_km }}" /> | ||||
|                         <input type="hidden" name="comments" value="{{ log.comments }}" /> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user