edit color
This commit is contained in:
parent
a430a7ffd9
commit
a098ecef5b
@ -1,5 +1,6 @@
|
||||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
{%block title%} {%trans 'Add Colors'%} {% endblock%}
|
||||
{% block content %}
|
||||
<div class="row mt-4">
|
||||
<h5 class="text-center">{% trans "Add Colors" %}</h5>
|
||||
@ -18,7 +19,8 @@
|
||||
<input class="color-radio"
|
||||
type="radio"
|
||||
name="exterior"
|
||||
value="{{ color.id }}">
|
||||
value="{{ color.id }}" {% if color.id == form.instance.exterior.id %}checked{% endif %}>
|
||||
|
||||
<div class="card-body color-display"
|
||||
style="background-color: rgb({{ color.rgb }})">
|
||||
<div class="">
|
||||
@ -38,7 +40,7 @@
|
||||
<input class="color-radio"
|
||||
type="radio"
|
||||
name="interior"
|
||||
value="{{ color.id }}">
|
||||
value="{{ color.id }}" {% if color.id == form.instance.interior.id %}checked{% endif %}>
|
||||
<div class="card-body color-display"
|
||||
style="background-color: rgb({{ color.rgb }})">
|
||||
<div class="">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user