Update legislation drafts translatable fields

Updating it required reorganizing the form so translatable fields are
together.

We also needed to add a `hint` option to the form label and input
methods so the hint wouldn't show up for every language.

Finally, the markdown editor needed to use the same globalize attributes
as inputs, labels and hints, which adds a bit of duplication.
This commit is contained in:
Javi Martín
2018-10-09 18:06:50 +02:00
parent 01a254545f
commit 6278175f57
10 changed files with 169 additions and 128 deletions

View File

@@ -231,6 +231,10 @@ en:
changelog: Changes
status: Status
final_version: Final version
legislation/draft_version/translation:
title: Version title
body: Text
changelog: Changes
legislation/question:
title: Title
question_options: Options