Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added center as alignment choice in FilerImage(CMSPlugin) #101

Closed
wants to merge 1 commit into from

4 participants

@dreipol

No description provided.

@stefanfoulis

For left and right most people will probably just do a float: right/float: left. Is there an equivalent for center in css?

@stefanfoulis
Owner

afaik there is no center css style. If you feel this to be wrong, please re-open this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 23, 2013
  1. @melbic
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  cmsplugin_filer_image/models.py
View
2  cmsplugin_filer_image/models.py
@@ -12,8 +12,10 @@
class FilerImage(CMSPlugin):
LEFT = "left"
RIGHT = "right"
+ CENTER = "center"
FLOAT_CHOICES = ((LEFT, _("left")),
(RIGHT, _("right")),
+ (CENTER, _("center"))
)
caption_text = models.CharField(_("caption text"), null=True, blank=True, max_length=255)
image = FilerImageField(null=True, blank=True, default=None, verbose_name=_("image"))
Something went wrong with that request. Please try again.