Merge pull request #1114 from sgmap/naming-improvements

Naming improvements
This commit is contained in:
gregoirenovel 2017-12-15 16:04:06 +01:00 committed by GitHub
commit 46da84a4ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@
}
}
.champ {
.editable-champ {
.updated-at {
@include notice-text-style;
float: right;

View file

@ -8,7 +8,7 @@
= form_for @dossier, url: annotations_dossier_path(@dossier.procedure, @dossier), html: { class: 'form' } do |f|
= f.fields_for :champs_private, f.object.ordered_champs_private do |champ_form|
- champ = champ_form.object
= render partial: "new_gestionnaire/dossiers/champs/champ",
= render partial: "new_gestionnaire/dossiers/editable_champs/editable_champ",
locals: { champ: champ, form: champ_form, seen_at: @annotations_privees_seen_at }
.send-wrapper

View file

@ -1,4 +1,4 @@
.champ
.editable-champ
- if is_not_header_nor_explication?(champ)
= render partial: 'new_gestionnaire/dossiers/champs/champ_label', locals: { form: form, champ: champ, seen_at: seen_at }