package customradiobuttoninline

import "cpone/models"

templ MainCustomRadioButtonInput(inp models.CustomRadioButtonv1Prm) {
	<div class="mt-5">
		<label for="input1" style="font-family: Poppins; font-weight: 600">{ inp.Label }</label>
		<div class="form-control">
			<div class="form-group">
				<div style="display: flex; gap: 20px">
					<label style="display: flex; align-items: center; gap: 5px">
						<input type="radio" name="nationality" value={ inp.Value }/>
						<p style="margin: 0">{ inp.Text }</p>
					</label>
				</div>
			</div>
		</div>
		<div class="invalid-feedback text-danger mt-3 ml-2 mt-5">
			{ inp.ErrorMsg }
		</div>
	</div>
}
