edit authors, delete users, UI changes
This commit is contained in:
parent
e36cc36947
commit
ccb6e23960
19 changed files with 190 additions and 75 deletions
13
app/views/authors/index.html.erb
Normal file
13
app/views/authors/index.html.erb
Normal file
|
@ -0,0 +1,13 @@
|
|||
<div class='container'>
|
||||
<% @authors.each do |author| %>
|
||||
<div class='row'>
|
||||
<div class='col s11'>
|
||||
<%= author.first_name %> <%= author.last_name %>
|
||||
</div>
|
||||
|
||||
<div class='col s1'>
|
||||
<%= link_to 'Edit', edit_author_path(author), class: "btn" %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue