23 lines
No EOL
502 B
Text
23 lines
No EOL
502 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| %>
|
|
<%= render 'shared/error_messages', object: f.object %>
|
|
|
|
|
|
<%= 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> |