Skip to content

Commit

Permalink
Fixes for Craft 2.3 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marty Wallace committed Dec 8, 2014
1 parent d3f7862 commit 7d01c99
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Formerly 1.1.1
# Formerly 1.1.2

## Installing

Expand Down Expand Up @@ -54,8 +54,14 @@ regular `ElementCriteriaModel`s. For example, to list submissions to the
{% endfor %}
```

## Updates

* 1.1.2
* Updated edit form UI to follow new Craft 2.3 Matrix appearance.

## Todo

* File uploads
* Better validation
* More question attributes, e.g. placeholder, error messages
* Date range selection for data export
2 changes: 1 addition & 1 deletion formerly/FormerlyPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public function getName()

public function getVersion()
{
return '1.1.1';
return '1.1.2';
}

public function getDeveloper()
Expand Down
6 changes: 6 additions & 0 deletions formerly/resources/formerly.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@charset "utf-8";

body .matrixblock .titlebar.nocheckbox
{
padding-left: 14px;
}
7 changes: 7 additions & 0 deletions formerly/templates/forms/_edit.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,16 @@
{% extends "_layouts/cp" %}

{% includeCssResource('formerly/formerly.css') %}

{% macro questionMarkup(id, question) %}
{% import '_includes/forms' as forms %}

<div class="question matrixblock" data-id="{{ id }}">
<div class="titlebar nocheckbox">
<div class="blocktype"></div>
<div class="preview"></div>
</div>

<div class="actions">
<a class="move icon" role="button" title="Reorder"></a>
<a class="delete icon" role="button" title="Actions"></a>
Expand Down

0 comments on commit 7d01c99

Please sign in to comment.