edit api
This commit is contained in:
@@ -28,7 +28,13 @@
|
||||
<div class ="form-group" >
|
||||
<label for="address" class="string optional control-label">Address:</label>
|
||||
<%= f.input :address,:error=>false,:label =>false,:placeholder =>'Please enter client address',input_html: { class: "form-control" } %>
|
||||
</div>
|
||||
</div>
|
||||
<% if @client.id.nil? %>
|
||||
<div class ="form-group" >
|
||||
<label for="address" class="string optional control-label">Location Code:</label>
|
||||
<%= f.input :location_code,:error=>false,:maxlength=>3,:label =>false,:placeholder =>'Please enter client location code',input_html: { class: "form-control" } %>
|
||||
</div>
|
||||
<% end %>
|
||||
<div class ="form-group" >
|
||||
<label></label>
|
||||
<div class="actions">
|
||||
|
||||
Reference in New Issue
Block a user