Commit db965704 authored by chris's avatar chris

Syle comment boxes, translate jquery formset actions

parent 93e9a013
......@@ -72,6 +72,12 @@ form label {
width: 26px;
}
.comment:focus {
width: 150px;
background-color: #EDF8FA;
order: 1px solid #666;
}
.adresse {
width: 200px;
color: #557;
......
/**
* jQuery Formset 1.1
* Language specifics
*/
;(function($) {
/* Setup plugin defaults */
$.fn.formset.defaults = {
prefix: 'form', // The form prefix for your django formset
formTemplate: null, // The jQuery selection cloned to generate new form instances
addText: 'ajouter un choix', // Text for the add link
deleteText: 'supprimer', // Text for the delete link
addCssClass: 'add-row', // CSS class applied to the add link
deleteCssClass: 'delete-row', // CSS class applied to the delete link
formCssClass: 'dynamic-form', // CSS class applied to each form in a formset
extraClasses: [], // Additional CSS classes, which will be applied to each form in turn
added: null, // Function called each time a new form is added
removed: null // Function called each time a form is deleted
};
})(jQuery)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment