bookstore/app/views/authors/edit.html.erb

10 lines
276 B
Text
Raw Normal View History

2021-03-21 22:31:58 +01:00
<div class='container'>
<h4>Edit author</h4>
<%= form_for @author do |f|%>
<%= f.label :first_name %>
<%= f.text_field :first_name %>
<%= f.label :last_name %>
<%= f.text_field :last_name %>
<%= f.submit 'Save changes', class: 'btn' %>
<%end%>
</div>