dossiers: fix the layout of the Edit button

This commit is contained in:
Pierre de La Morinerie 2019-07-29 10:45:49 +02:00
parent f1838f3767
commit 7b345365fd
3 changed files with 5 additions and 9 deletions

View file

@ -38,10 +38,6 @@
}
}
.button.edit-form {
float: right;
}
.messagerie-explanation {
margin-bottom: $default-padding * 2;
}

View file

@ -1,4 +1,4 @@
%span.dropdown.invite-user-action{ :style => "float:right;right: 10px;" }
%span.dropdown.invite-user-action
%button.button.dropdown-button
%span.icon.person
- if dossier.invites.count > 0

View file

@ -11,10 +11,10 @@
= "- Déposé le #{l(dossier.en_construction_at, format: '%d %B %Y')}"
- if current_user.owns?(dossier)
.header-actions
= render partial: 'invites/dropdown', locals: { dossier: dossier }
- if dossier.can_be_updated_by_user?
= link_to "Modifier mon dossier", modifier_dossier_path(dossier.id), class: 'button accepted edit-form', 'title'=> "Vous pouvez modifier votre dossier tant qu'il n'est passé en instruction"
= render partial: 'invites/dropdown', locals: { dossier: dossier }
.clearfix
%ul.tabs
= dynamic_tab_item('Résumé', dossier_path(dossier))