22 lines
No EOL
440 B
Text
22 lines
No EOL
440 B
Text
<% provide(:title, "Edit user") %>
|
|
<h1>Update your profile</h1>
|
|
|
|
<div class="row">
|
|
<div class="col-md-6 col-md-offset-3">
|
|
<%= form_for(@user) do |f| %>
|
|
|
|
|
|
<%= f.label :name %>
|
|
<%= f.text_field :name, class: 'form-control' %>
|
|
|
|
<%= f.label :marks %>
|
|
<%= f.number_field :marks, class: 'form-control' %>
|
|
|
|
|
|
|
|
<%= f.submit "Save changes", class: "btn btn-primary" %>
|
|
<% end %>
|
|
|
|
|
|
</div>
|
|
</div> |