old_contents: from django import forms
  from django.conf import settings
  from django.forms import ModelForm
  from ansible.models import Playbook
  
  class AnsibleForm1(ModelForm):
      class Meta:
          model = Playbook
          fields = ['repository', 'username']
  
  
  class AnsibleForm2(ModelForm):
      class Meta:
          model = Playbook
          fields = ['inventory', 'user']
  
  
  class LoginForm(forms.Form):
      username = forms.CharField(label='Username', max_length=100)
      password = forms.CharField(label='Password', max_length=100)
  
  
  class PlaybookFileForm(forms.Form):
      playbook = forms.CharField(widget=forms.Textarea(attrs={'rows':30,'cols':80}))
  
new_contents: from django import forms
  from django.conf import settings
  from django.forms import ModelForm
  from ansible.models import Playbook
  
  class AnsibleForm1(ModelForm):
      class Meta:
          model = Playbook
          fields = ['repository', 'username']
  
  
  class AnsibleForm2(ModelForm):
      class Meta:
          model = Playbook
          fields = ['inventory', 'user']
  
  
  class LoginForm(forms.Form):
      username = forms.CharField(label='Username', max_length=100)
      password = forms.CharField(label='Password', max_length=100)
  
  
  class PlaybookFileForm(forms.Form):
      filename = forms.CharField(label='Filename', max_length=100)
      playbook = forms.CharField(widget=forms.Textarea(attrs={'rows':30,'cols':80}))
  
subject: Add Field for Playbook filename