dg: supporters styles
This commit is contained in:
parent
111506d885
commit
862ce849f2
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ class Message(models.Model):
|
||||||
|
|
||||||
class Supporter(models.Model):
|
class Supporter(models.Model):
|
||||||
name = models.CharField(max_length=200)
|
name = models.CharField(max_length=200)
|
||||||
description = models.TextField()
|
description = models.TextField(null=True, blank=True)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "%s" % (self.name)
|
return "%s" % (self.name)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-12">
|
<div class="col-md-12">
|
||||||
{% for supporter in supporters %}
|
{% for supporter in supporters %}
|
||||||
<div class="col-md-3">
|
<div class="col-md-6">
|
||||||
<div class="thumbnail">
|
<div class="thumbnail">
|
||||||
<div class="caption">
|
<div class="caption">
|
||||||
<h3>{{supporter.name}}</h3>
|
<h3>{{supporter.name}}</h3>
|
||||||
|
|
Loading…
Reference in a new issue