qr code generate
This commit is contained in:
29
app/views/batches/_form.html.erb
Normal file
29
app/views/batches/_form.html.erb
Normal file
@@ -0,0 +1,29 @@
|
||||
<%= simple_form_for(@batch) do |f| %>
|
||||
<nav class="breadcrumb">
|
||||
<a class="breadcrumb-item" href="<%= dashboard_path %>">Home</a>
|
||||
<a class="breadcrumb-item active" href="<%= batches_path %>">Batch</a>
|
||||
<a class="breadcrumb-item active" href="#">
|
||||
<% if !@batch.id.nil? %>
|
||||
Edit
|
||||
<% else %>
|
||||
New
|
||||
<% end %>
|
||||
</a>
|
||||
</nav>
|
||||
<div class="row">
|
||||
<div class="col-md-6" id="textbox_group">
|
||||
<div class ="form-group" >
|
||||
<label for="name" class="string optional control-label">Name:</label>
|
||||
<%= f.input :order_ref ,:label =>false,:error => false,:placeholder =>'Please enter name',input_html: { class: "form-control" } %>
|
||||
<%= f.error :order_ref ,style: 'color: red' %>
|
||||
</div>
|
||||
<div class ="form-group" >
|
||||
<label></label>
|
||||
<div class="actions">
|
||||
<%= f.button :submit, :class => 'btn btn-primary',:id =>'btn_submit' %>
|
||||
<%= link_to 'Cancel', batches_path ,:class => 'btn btn-primary',:id => 'btnback' %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user