Styling and text fixes

This commit is contained in:
leigh-mil
2019-01-18 09:59:51 -05:00
parent 3ab1a0a040
commit 569576fce5
6 changed files with 23 additions and 7 deletions

View File

@@ -1,10 +1,10 @@
{% macro CheckboxInput(field, inline=False) -%}
{% macro CheckboxInput(field, inline=False, classes="") -%}
<checkboxinput name='{{ field.name }}' inline-template key='{{ field.name }}'>
<div class='usa-input {% if field.errors %}usa-input--error{% endif %}'>
<fieldset v-on:change="onInput" class="usa-input__choices {% if inline %}usa-input__choices--inline{% endif %}">
<legend>
<legend class="{{ classes }}">
{{ field() }}
{{ field.label }}

View File

@@ -23,9 +23,17 @@
<hr />
<<<<<<< HEAD
<h3 class="subheading">{{ "task_orders.new.oversight.cor_info_title" | translate }}</h3>
<p>{{ "task_orders.new.oversight.cor_info_paragraph" | translate }}</p>
{{ CheckboxInput(form.am_cor) }}
=======
<h3 class="subheading">{{ "task_orders.new.oversight.cor_info_title" | translate }}</h3>
<p>{{ "task_orders.new.oversight.cor_info_paragraph" | translate }}</p>
<cor inline-template v-bind:initial-data='{{ form.data|tojson }}'>
<div class='usa-input'>
{{ CheckboxInput(form.am_cor, classes="normal") }}
>>>>>>> Styling and text fixes
<template v-if="!am_cor">
{{ UserInfo(form.cor_first_name, form.cor_last_name, form.cor_email, form.cor_phone_number) }}
{{ CheckboxInput(form.cor_invite) }}