Stupid line endings.

This commit is contained in:
Chris Giacofei 2024-06-21 07:21:38 -04:00
parent 12fca700da
commit 2f33a27e47
3 changed files with 54 additions and 70 deletions

View File

@ -1,17 +1,17 @@
# Generated by Django 5.0.6 on 2024-06-20 18:33
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('beer', '0009_batchrecipe_equipment_and_more'),
]
operations = [
migrations.AlterModelOptions(
name='batchrecipe',
options={'verbose_name': 'Recipe', 'verbose_name_plural': 'Recipes'},
),
]
# Generated by Django 5.0.6 on 2024-06-20 18:33
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('beer', '0009_batchrecipe_equipment_and_more'),
]
operations = [
migrations.AlterModelOptions(
name='batchrecipe',
options={'verbose_name': 'Recipe', 'verbose_name_plural': 'Recipes'},
),
]

View File

@ -1,17 +1,17 @@
# Generated by Django 5.0.6 on 2024-06-20 18:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('beer', '0010_alter_batchrecipe_options'),
]
operations = [
migrations.RenameModel(
old_name='BatchRecipe',
new_name='Recipe',
),
]
# Generated by Django 5.0.6 on 2024-06-20 18:59
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('beer', '0010_alter_batchrecipe_options'),
]
operations = [
migrations.RenameModel(
old_name='BatchRecipe',
new_name='Recipe',
),
]

View File

@ -1,36 +1,20 @@
{% extends 'base.html' %}
{% block style %}
form { display: table; }
p { display: table-row; }
label { display: table-cell; }
input { display: table-cell; }
{% endblock %}
{% block jumbotron %}
Add Batch
{% endblock %}
{% block content %}
<div class="container">
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Submit" />
</form>
<!-- <form action="addbatch/" method="post">
{% csrf_token %}
production_date:<br>
<input name="production_date">
<br><br>
strain:<br>
<input name="strain">
<br><br>
source:<br>
<input name="source">
<br><br>
data_web:<br>
<input name="data_web">
<br><br>
<input type="submit" value="Submit">
</form> -->
</div>
{% endblock %}
{% extends 'base.html' %}
{% block style %}
form { display: table; }
p { display: table-row; }
label { display: table-cell; }
input { display: table-cell; }
{% endblock %}
{% block jumbotron %}
Add Batch
{% endblock %}
{% block content %}
<div class="container">
<form action="" method="post">
{% csrf_token %}
{{ form.as_p }}
<input type="submit" value="Submit" />
</form>
</div>
{% endblock %}