63 lines
1.0 KiB
Plaintext
63 lines
1.0 KiB
Plaintext
|
<h1>Edition utilisateur</h1>
|
|||
|
|
|||
|
<%= error_messages_for :utilisateur %>
|
|||
|
|
|||
|
<% form_for(:utilisateur, :url => utilisateur_path(@utilisateur), :html => { :method => :put }) do |f| %>
|
|||
|
<p>
|
|||
|
<b>Nom</b><br />
|
|||
|
<%= f.text_field :nom %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<b>Pr<50>nom</b><br />
|
|||
|
<%= f.text_field :prenom %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<b>Classe</b><br />
|
|||
|
<%= f.text_field :classe %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<b>Adresse courriel</b><br />
|
|||
|
<%= f.text_field :email %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<b>Age</b><br />
|
|||
|
<%= f.text_field :age %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<b>Rue</b><br />
|
|||
|
<%= f.text_field :rue %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<b>Code postal</b><br />
|
|||
|
<%= f.text_field :codePostal %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<b>Ville</b><br />
|
|||
|
<%= f.text_field :ville %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<b>Photo</b><br />
|
|||
|
<%= f.text_field :photo %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<b>Type</b><br />
|
|||
|
<%= f.text_field :type %>
|
|||
|
</p>
|
|||
|
|
|||
|
<p>
|
|||
|
<%= submit_tag "Mise <20> jour" %>
|
|||
|
</p>
|
|||
|
<% end %>
|
|||
|
|
|||
|
<%= link_to 'Montrer', utilisateur_path(@utilisateur) %> |
|
|||
|
<%= link_to 'Retour', utilisateurs_path %>
|