36 Commits

Author SHA1 Message Date
b88bb50b56 Merge branch 'marcu/Chill-CustomFields-master'
Merge request Chill-project/Chill-CustomFields!5

Conflicts:
	Resources/views/Form/fields.html.twig
2015-12-10 15:44:20 +01:00
4f2b605efc add a number field
The field has three option :

- lesser or equal than. If null, this option is ignored ;
- greather or equal than. If null, this options is ignored ;
- precision : the number of decimal after the number ;
- text after the field : a text to show after the field.

The field is rendered as an HTML integer input if precision = 0, or a
symfony number field if precision > 0.

ref chill-project/Chill-CustomFields#11
2015-12-08 19:45:04 +01:00
Marc Ducobu
373edab629 CustomFields/CustomFieldInterface.php : Improving the doc 2015-12-08 11:42:38 +01:00
Marc Ducobu
ebfb24a3eb Refactoring CustomFields/CustomFieldChoice.php : removing useless linereturn 2015-12-08 11:42:05 +01:00
bf99b68a2a Improve rendering of options and fields 2015-11-27 13:37:07 +01:00
b96076022f [wip] layout of custom field edition
[ci skip]
2015-11-25 08:45:17 +01:00
Marc Ducobu
23438926b1 Refactoring CustomFields/CustomFieldChoice.php : indentation 2015-10-22 15:02:49 +02:00
Marc Ducobu
e7ce8934ab Refactoring CustomFields/CustomFieldChoice.php : good indentation 2015-09-28 13:55:32 +02:00
Marc Ducobu
b40a1595c1 export raw string (no html conversion) and replace " by "" - refs #401 2015-02-18 12:41:57 +01:00
Marc Ducobu
47a9a29236 allowing csv rendering for custom fields 2015-02-17 15:01:12 +01:00
77247de990 fix method name 2015-02-05 17:52:03 +01:00
a2b3ff6d63 remove %locale% from cf choice
refs #332
2015-02-05 17:40:32 +01:00
3707b08aee remove entities for testing purpose - clean code
fix #259
2015-01-22 09:50:53 +01:00
a925533fc8 fix bug : CFChoice was not rendered correctly with _other option 2014-11-27 13:54:58 +01:00
Marc Ducobu
b5bf383005 Allow to customize the 'other value' statement in CFChoice - close #361 2014-11-26 18:49:24 +01:00
Marc Ducobu
a8831056d2 class cf-title for form construction ref #363 2014-11-25 15:52:02 +01:00
b687e9e07d Add a 'none' text on rendering when the custom fields is empty
close #347
2014-11-20 17:35:16 +01:00
ff40e2991c [CFChoice] Allow true in option 'other'
Before this commit, only the "1" value was taken into account
2014-11-20 11:59:39 +01:00
Marc Ducobu
67f434ef85 refactoring CustomFieldText var MultipleCFInline -> multipleCFInline 2014-11-19 15:34:16 +01:00
Marc Ducobu
d2a78ce852 all more than one CF in one line close #322 2014-11-18 14:18:13 +01:00
Marc Ducobu
43d863ef88 Using TranslatableStringHelper inside CustomFieldChoice, CustomFieldText & CustomFieldTitle 2014-11-17 12:10:14 +01:00
Marc Ducobu
f02d9ff098 Refactoring useless return line 2014-11-13 21:29:01 +01:00
d0a04279d3 show the name into custom fields's choice label refs #291 2014-11-13 18:38:10 +01:00
37375ec357 set required to false refs #301 2014-11-13 18:14:38 +01:00
Marc Ducobu
8fa75e2dd6 Render for title 2014-11-12 12:28:57 +01:00
Marc Ducobu
cac299368a Formating CF Form 2014-11-11 12:53:14 +01:00
bd96f36463 rendering of custom fields refs #277 [ci skip] 2014-11-11 08:44:12 +01:00
Marc Ducobu
ab51e3c7f4 Title for custom Field : class title or subtile 2014-11-10 16:05:26 +01:00
28862bbdb9 create visualisation service rers #268 2014-11-10 12:15:32 +01:00
952d70f049 choice with other + some development tips 2014-11-10 11:25:54 +01:00
Marc Ducobu
c77bfe989c Debug : getLabel -> getName 2014-11-10 11:09:19 +01:00
Marc Ducobu
52b7045cc3 Merge branch 'master' of git://github.com/Chill-project/CustomFields
Conflicts:
	Resources/config/services.yml
2014-11-08 15:21:01 +01:00
Marc Ducobu
1747ba5f0d Adding Title for Custom Field 2014-11-08 15:19:30 +01:00
7daa1a240e add testing for customfield, correcting request injection 2014-11-08 15:07:15 +01:00
99a88e8705 add customfield text + fix options in custom fields 2014-11-08 11:55:59 +01:00
8011746b26 move bundle to root dir for inclusion in packagist refs #259 2014-11-04 17:10:59 +01:00