e</label>
                            <input type="date" class="rc-input" name="purchase_date" value="{{if .device.PurchaseDate}}{{.device.PurchaseDate.Format "2006-01-02"}}{{end}}">
                        </div>
                        <div class="rc-form-group">
                            <label class="rc-label">Last Maintenance</label>
                            <input type="date" class="rc-input" name="last_maintenance" value="{{if .device.LastMaintenance}}{{.device.LastMaintenance.Format "2006-01-02