Louis | Adds agencies

This commit is contained in:
Loos
2014-09-21 18:23:15 -05:00
parent 36e7c1624f
commit 7ed3fce648
14 changed files with 180 additions and 3 deletions
+1 -1
View File
@@ -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 -1
View File
@@ -1,5 +1,5 @@
.container
%h1 Editing client
%h1 Edit client
= render 'form'
= link_to 'Show', @client
|