initial commit
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
= form_for @supplier, html: {class: 'form-horizontal' } do |f|
|
||||
= render 'error_messages', target: @supplier
|
||||
.control-group class=(@supplier.errors[:name].any? ? 'error' : nil)
|
||||
= f.label :name, class: 'control-label'
|
||||
.controls
|
||||
= f.text_field :name, class: 'text_field'
|
||||
.form-actions
|
||||
= f.submit nil, class: 'btn btn-primary'
|
||||
'
|
||||
= link_to t("helpers.links.cancel"), suppliers_path, class: 'btn'
|
||||
Reference in New Issue
Block a user