from django import forms

from .models import Zadanie

class ZadanieForm(forms.ModelForm):
	temat = forms.CharField(widget=forms.TextInput(attrs={"placeholder": "Wpisz temat"}))
	opis = forms.CharField(widget=forms.Textarea(attrs={"placeholder": "Dodaj opis", "rows": 20, "cols": 60}))
	uwagi = forms.CharField(required=False, widget=forms.Textarea(attrs={"placeholder": "Dodaj uwagi", "rows": 15, "cols": 50}))
	class Meta:
		model = Zadanie
		fields = [
		'temat',
		'opis',
		'uwagi',
		'zrealizowany',
		]


6c5d11067f3c4b3c0722e7da38b3d1530e54898b
<mask token>

<mask token>


class ZadanieForm(forms.ModelForm):
    <mask token>
    <mask token>
    <mask token>


    class Meta:
        model = Zadanie
        fields = ['temat', 'opis', 'uwagi', 'zrealizowany']

<mask token>


class ZadanieForm(forms.ModelForm):
    temat = forms.CharField(widget=forms.TextInput(attrs={'placeholder':
        'Wpisz temat'}))
    opis = forms.CharField(widget=forms.Textarea(attrs={'placeholder':
        'Dodaj opis', 'rows': 20, 'cols': 60}))
    uwagi = forms.CharField(required=False, widget=forms.Textarea(attrs={
        'placeholder': 'Dodaj uwagi', 'rows': 15, 'cols': 50}))


    class Meta:
        model = Zadanie
        fields = ['temat', 'opis', 'uwagi', 'zrealizowany']

from django import forms
from .models import Zadanie


class ZadanieForm(forms.ModelForm):
    temat = forms.CharField(widget=forms.TextInput(attrs={'placeholder':
        'Wpisz temat'}))
    opis = forms.CharField(widget=forms.Textarea(attrs={'placeholder':
        'Dodaj opis', 'rows': 20, 'cols': 60}))
    uwagi = forms.CharField(required=False, widget=forms.Textarea(attrs={
        'placeholder': 'Dodaj uwagi', 'rows': 15, 'cols': 50}))


    class Meta:
        model = Zadanie
        fields = ['temat', 'opis', 'uwagi', 'zrealizowany']

from django import forms

from .models import Zadanie

class ZadanieForm(forms.ModelForm):
	temat = forms.CharField(widget=forms.TextInput(attrs={"placeholder": "Wpisz temat"}))
	opis = forms.CharField(widget=forms.Textarea(attrs={"placeholder": "Dodaj opis", "rows": 20, "cols": 60}))
	uwagi = forms.CharField(required=False, widget=forms.Textarea(attrs={"placeholder": "Dodaj uwagi", "rows": 15, "cols": 50}))
	class Meta:
		model = Zadanie
		fields = [
		'temat',
		'opis',
		'uwagi',
		'zrealizowany',
		]

