dossiers: fix the layout of the Edit button
This commit is contained in:
parent
f1838f3767
commit
7b345365fd
3 changed files with 5 additions and 9 deletions
|
@ -38,10 +38,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
.button.edit-form {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.messagerie-explanation {
|
||||
margin-bottom: $default-padding * 2;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue