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 # Generated by Django 5.0.6 on 2024-06-20 18:33
from django.db import migrations from django.db import migrations
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('beer', '0009_batchrecipe_equipment_and_more'), ('beer', '0009_batchrecipe_equipment_and_more'),
] ]
operations = [ operations = [
migrations.AlterModelOptions( migrations.AlterModelOptions(
name='batchrecipe', name='batchrecipe',
options={'verbose_name': 'Recipe', 'verbose_name_plural': 'Recipes'}, 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 # Generated by Django 5.0.6 on 2024-06-20 18:59
from django.db import migrations from django.db import migrations
class Migration(migrations.Migration): class Migration(migrations.Migration):
dependencies = [ dependencies = [
('beer', '0010_alter_batchrecipe_options'), ('beer', '0010_alter_batchrecipe_options'),
] ]
operations = [ operations = [
migrations.RenameModel( migrations.RenameModel(
old_name='BatchRecipe', old_name='BatchRecipe',
new_name='Recipe', new_name='Recipe',
), ),
] ]

View File

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