article / article / forms.py

Diff from to

article/forms.py

 
     class Media:
         js = (
-            '//happyherb-photos.s3.amazonaws.com/admin/grappelli/jquery/jquery-1.6.2.min.js',
-            '//photos.happyherbivore.com/admin/redactor/redactor-802v1.js',
+            '//media.happyherbivore.com/grappelli/jquery/jquery-1.7.2.min.js',
+            #'//happyherb-photos.s3.amazonaws.com/admin/grappelli/jquery/jquery-1.6.2.min.js',
+            '//photos.happyherbivore.com/admin/redactor/811/redactor.min.js',
             '//photos.happyherbivore.com/admin/redactor/redactor_init-v2.js',
             )
         css = {
-            "all" : ('//photos.happyherbivore.com/admin/redactor/802/redactor.css',
-                '//photos.happyherbivore.com/admin/redactor/custom_redactor-v0.css')
+            "all" : ('//photos.happyherbivore.com/admin/redactor/811/redactor.css',
+                '//photos.happyherbivore.com/admin/redactor/custom_redactor-v2.css')
             }
 
 class RecipeAdminModelForm(forms.ModelForm):
     class Media:
         js = (
             '//happyherb-photos.s3.amazonaws.com/admin/grappelli/jquery/jquery-1.6.2.min.js',
-            '//photos.happyherbivore.com/admin/redactor/redactor-802v1.js',
+            '//photos.happyherbivore.com/admin/redactor/811/redactor.min.js',
             '//photos.happyherbivore.com/admin/redactor/redactor_init-v2.js',
             )
         css = {
-            "all" : ('//photos.happyherbivore.com/admin/redactor/802/redactor.css',
-                '//photos.happyherbivore.com/admin/redactor/custom_redactor-v0.css')
+            "all" : ('//photos.happyherbivore.com/admin/redactor/811/redactor.css',
+                '//photos.happyherbivore.com/admin/redactor/custom_redactor-v2.css')
             }
 
 class FlatPagesAdminModelForm(FlatpageForm):
     class Media:
         js = (
             '//happyherb-photos.s3.amazonaws.com/admin/grappelli/jquery/jquery-1.6.2.min.js',
-            '//photos.happyherbivore.com/admin/redactor/redactor-802v1.js',
+            '//photos.happyherbivore.com/admin/redactor/811/redactor.min.js',
             '//photos.happyherbivore.com/admin/redactor/redactor_init-v2.js',
             )
         css = {
-            "all" : ('//photos.happyherbivore.com/admin/redactor/802/redactor.css',
-                '//photos.happyherbivore.com/admin/redactor/custom_redactor-v0.css')
+            "all" : ('//photos.happyherbivore.com/admin/redactor/811/redactor.css',
+                '//photos.happyherbivore.com/admin/redactor/custom_redactor-v2.css')
             }
 
 class RecipePhotosAdminForm(forms.ModelForm):
 
 
 class ContactForm(forms.Form):
-    #question = forms.CharField(widget=forms.TextInput())
     message = forms.CharField(widget=forms.Textarea(attrs={'class':'span5', 'placeholder':"Type your message here..."}))
     name = forms.CharField()
     email = forms.EmailField()
         
         self.helper.layout = Layout(
             HTML('<hr>'),
-            HTML("<div class='contactlindsay'><p>Hiya Herbie!</p><p>Nothing lifts my spirits like your personal stories and I love answering your questions! I do, however, respond to over 3,400 emails every month. Can you do me a favor and search below before emailing me? Chances are I've already addressed your question on this site. Thank you!</p><p>- Lindsay (HH)</p></div>"),
+            HTML("<div class='contactlindsay'><p>Hiya Herbie!</p><p>Nothing lifts my spirits like your personal stories and I love answering your questions! I do, however, respond to over 3,400 emails every month. Can you do me a favor and search the FAQ or the site search before emailing me? Chances are I've already addressed your question on this site. Thank you!</p><p>- Lindsay (HH)</p></div>"),
             HTML('<hr>'),
             'message',
             PrependedText('name', '<i class="icon-user"></i>'),
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.