mirror of
https://github.com/fspc/bike-database.git
synced 2026-09-16 16:41:38 -04:00
Louis | Adds agencies
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
= form_for @client, html: {class: 'form-horizontal'} do |f|
|
||||
- if @client.errors.any?
|
||||
#error_explanation
|
||||
%h2= pluralize(@client.errors.count, "error") + " prohibited this bike from being saved:"
|
||||
%h2= pluralize(@client.errors.count, "error") + " prohibited this client from being saved:"
|
||||
%ul
|
||||
- @client.errors.full_messages.each do |msg|
|
||||
%li= msg
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
.container
|
||||
%h1 Editing client
|
||||
%h1 Edit client
|
||||
= render 'form'
|
||||
= link_to 'Show', @client
|
||||
|
|
||||
|
||||
Reference in New Issue
Block a user