Package madrona :: Package bookmarks :: Module forms
[hide private]

Source Code for Module madrona.bookmarks.forms

 1  from madrona.features.forms import FeatureForm 
 2  from madrona.bookmarks.models import Bookmark 
 3  from django import forms 
 4   
5 -class BookmarkForm(FeatureForm):
6 name = forms.CharField(label='Bookmark Name') 7 latitude = forms.FloatField(widget=forms.HiddenInput()) 8 longitude = forms.FloatField(widget=forms.HiddenInput()) 9 altitude = forms.FloatField(widget=forms.HiddenInput()) 10 heading = forms.FloatField(widget=forms.HiddenInput()) 11 tilt = forms.FloatField(widget=forms.HiddenInput()) 12 roll = forms.FloatField(widget=forms.HiddenInput()) 13 altitudeMode = forms.FloatField(widget=forms.HiddenInput()) 14 publicstate = forms.CharField(widget=forms.HiddenInput()) 15 ip = forms.CharField(widget=forms.HiddenInput(), initial="0.0.0.0", required=False) 16
17 - class Meta(FeatureForm.Meta):
19