mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 14:56:47 +00:00
fotmat navbar
This commit is contained in:
parent
f17ba36173
commit
5d46d730bc
@ -102,10 +102,10 @@
|
||||
{% endif %}
|
||||
</li>
|
||||
<!--</ul>-->
|
||||
<li style="text-decoration: none; color:#fff; cursor:pointer; margin-left:50rem"><a style="color:#fff;">
|
||||
<span id="uk">English</span>
|
||||
<li style="text-decoration: none; color:#fff; cursor:pointer; margin-left:50rem"><a style="color:#fff;">Language
|
||||
<span id="uk">EN</span>
|
||||
|
|
||||
<span id="es">Spanish</span></a></li>
|
||||
<span id="es">ES</span></a></li>
|
||||
</ul>
|
||||
<!--/.nav-collapse -->
|
||||
</div>
|
||||
|
||||
@ -109,6 +109,7 @@ class UpdateProductView(LoginRequiredMixin, FormView):
|
||||
}
|
||||
try:
|
||||
result = self.api.put(urlpath, payload=payload)
|
||||
print(result, "This is result")
|
||||
if 'code' in result and result['code']>=400:
|
||||
error_once_only(self.request, result['message'])
|
||||
return super(UpdateProductView, self).form_invalid(form)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user