2023-11-27 11:19:32 +01:00
|
|
|
<% content_for(:title) { "Transfert d'un dossier vers un autre utilisateur" } %>
|
|
|
|
|
2024-02-06 17:43:20 +01:00
|
|
|
<header class="main-content__header">
|
2023-11-27 11:19:32 +01:00
|
|
|
<h1 class="main-content__page-title">
|
|
|
|
<%= content_for(:title) %>
|
|
|
|
</h1>
|
|
|
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<section class="main-content__body">
|
|
|
|
<dl>
|
|
|
|
<dt class="attribute-label" id="user">User</dt>
|
|
|
|
|
|
|
|
<dd class="attribute-data attribute-data--belongs-to">
|
2024-04-18 10:21:32 +02:00
|
|
|
<%= link_to @dossier.user_email_for(:notification), manager_user_path(@dossier.user) %>
|
2023-11-27 11:19:32 +01:00
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt class="attribute-label" id="text_summary">Text summary</dt>
|
|
|
|
|
|
|
|
<dd class="attribute-data attribute-data--string">
|
|
|
|
<%= @dossier.text_summary %>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dt class="attribute-label" id="state">State</dt>
|
|
|
|
|
|
|
|
<dd class="attribute-data attribute-data--enum">
|
|
|
|
<%= dossier_display_state(@dossier) %>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
</section>
|
|
|
|
<section>
|
|
|
|
<%= form_for([namespace, DossierTransfer.new], method: :post, url: transfer_manager_dossier_path(@dossier), html: { class: "form" }) do |f| %>
|
|
|
|
<div class="field-unit field-unit--string field-unit--optional">
|
|
|
|
<div class="field-unit__label">
|
|
|
|
<label for="user_email">A qui souhaitez-vous transferer le dossier ?</label>
|
|
|
|
</div>
|
|
|
|
<div class="field-unit__field">
|
2024-02-06 17:43:20 +01:00
|
|
|
<input type="text" name="email" required placeholder="chouette.gars@laposte.net">
|
2023-11-27 11:19:32 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="form-actions">
|
|
|
|
<%= f.submit "Transférer le dossier" %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</section>
|