aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2022-06-13 21:20:17 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2022-06-13 21:20:17 +0200
commit04a10f2acd73d88f90433755bfbe667c5174acb5 (patch)
tree34f1f911c12ac23383de6bb0ded154c7517d1dcd /templates
parentf1fd665089dd6b0a1fa4fc72a64db3cbf0b6d5f5 (diff)
downloadmdir-04a10f2acd73d88f90433755bfbe667c5174acb5.tar.gz
mdir-04a10f2acd73d88f90433755bfbe667c5174acb5.tar.bz2
mdir-04a10f2acd73d88f90433755bfbe667c5174acb5.zip
ref: Rename snake case variable
My pythonic brain kicked in and I ended up naming a variable using snake case.
Diffstat (limited to 'templates')
-rw-r--r--templates/entry.tmpl2
-rw-r--r--templates/index.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/entry.tmpl b/templates/entry.tmpl
index dc5f2b6..642b501 100644
--- a/templates/entry.tmpl
+++ b/templates/entry.tmpl
@@ -16,7 +16,7 @@
</label>
<label for="output">
Output folder
- <input type="text" id="Output_folder" name="Output_folder" value="{{ .Output_folder }}" placeholder="Select a ralative folder" required>
+ <input type="text" id="OutputFolder" name="OutputFolder" value="{{ .OutputFolder }}" placeholder="Select a ralative folder" required>
</label>
<button type="submit">Submit</button>
</form>
diff --git a/templates/index.tmpl b/templates/index.tmpl
index 1880b5f..0b965f5 100644
--- a/templates/index.tmpl
+++ b/templates/index.tmpl
@@ -14,7 +14,7 @@
<tr>
<td>{{ .ID }}</td>
<td>{{ .Link }}</td>
- <td>{{ .Output_folder }}</td>
+ <td>{{ .OutputFolder }}</td>
<td>
<a href="entries/{{ .ID }}" >Edit</a>
</span>