aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-04-04 20:27:24 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-04-04 20:27:24 -0700
commit63158f6c81640db8fb37ce2299095a4a47db4c7f (patch)
tree2ff59a1b843acdfde8e3515066a86354a732a35d /python/fatcat_web
parent5621d42127ad11dd032842b8b99903ff002c73d0 (diff)
downloadfatcat-63158f6c81640db8fb37ce2299095a4a47db4c7f.tar.gz
fatcat-63158f6c81640db8fb37ce2299095a4a47db4c7f.zip
add error displays in release and file list forms
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/file_edit.html3
-rw-r--r--python/fatcat_web/templates/release_edit.html1
2 files changed, 3 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/file_edit.html b/python/fatcat_web/templates/file_edit.html
index 279acca9..bef80ee3 100644
--- a/python/fatcat_web/templates/file_edit.html
+++ b/python/fatcat_web/templates/file_edit.html
@@ -32,7 +32,6 @@
<div class="list-group-item ui grid" style="padding-right: 1em;">
{{ cform.hidden_tag() }}
<div class="one wide column middle aligned center aligned" style="padding-bottom: 0px; padding-right: 0px; padding-left: 0px;">
- <i class="arrows alternate vertical icon"></i>
</div>
<div class="three wide column" style="padding-bottom: 0px; padding-left: 0px;">
<div class="field {% if cform.rel.errors %}error{% endif %}">
@@ -42,6 +41,7 @@
<div class="eleven wide column" style="padding-bottom: 0px;">
<div class="field {% if cform.url.errors %}error{% endif %}">
{{ cform.url() }}
+ {{ edit_macros.form_field_errors(cform.url) }}
</div>
</div>
<div class="one wide column right aligned" style="padding-bottom: 0px; padding-left: 0rem;">
@@ -68,6 +68,7 @@
<div class="fourteen wide column" style="padding-bottom: 0px;">
<div class="field {% if rfield.errors %}error{% endif %}">
{{ rfield() }}
+ {{ edit_macros.form_field_errors(rfield) }}
</div>
</div>
<div class="one wide column right aligned" style="padding-bottom: 0px; padding-left: 0rem;">
diff --git a/python/fatcat_web/templates/release_edit.html b/python/fatcat_web/templates/release_edit.html
index 16c189ab..7bd4a00a 100644
--- a/python/fatcat_web/templates/release_edit.html
+++ b/python/fatcat_web/templates/release_edit.html
@@ -58,6 +58,7 @@
<div class="eleven wide column" style="padding-bottom: 0px;">
<div class="field {% if cform.raw_name.errors %}error{% endif %}">
{{ cform.raw_name() }}
+ {{ edit_macros.form_field_errors(cform.raw_name) }}
</div>
</div>
<div class="one wide column right aligned" style="padding-bottom: 0px; padding-left: 0rem;">