edit authors, delete users, UI changes
This commit is contained in:
parent
e36cc36947
commit
ccb6e23960
19 changed files with 190 additions and 75 deletions
10
app/views/authors/edit.html.erb
Normal file
10
app/views/authors/edit.html.erb
Normal file
|
@ -0,0 +1,10 @@
|
|||
<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>
|
Loading…
Add table
Add a link
Reference in a new issue