aboutsummaryrefslogtreecommitdiffstats
path: root/uitest/src/main/resources/com/vaadin/tests/declarative/PotusForm.html
blob: 4eb6c84e4afb6c46437abdbb0287513bce8d1ff1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<vaadin-vertical-layout _id="form" spacing margin>
    <vaadin-horizontal-layout spacing>   
        <vaadin-text-field _id="firstName" caption="First Name" null-representation="" width="300px" />
        <vaadin-text-field _id="lastName" caption="Last Name" null-representation="" width="300px" />
    </vaadin-horizontal-layout>
    <vaadin-horizontal-layout spacing>   
        <vaadin-combo-box _id="party" caption="Party" width="300px" />
        <vaadin-popup-date-field _id="tookOffice" caption="Took Office" />
        <vaadin-popup-date-field _id="leftOffice" caption="Left Office" />
    </vaadin-horizontal-layout>
    <vaadin-horizontal-layout spacing width-full>  
        <vaadin-button _id="save" style-name="primary">Save</vaadin-button>
        <vaadin-button _id="revert">Revert</vaadin-button>
        <vaadin-button _id="delete" style-name="danger" :expand :right>Delete</vaadin-button>
    </vaadin-horizontal-layout>
</vaadin-vertical-layout>