This commit is contained in:
nandar
2018-07-26 15:34:11 +06:30
parent 55554707f0
commit 275a7658ce
10 changed files with 66 additions and 10 deletions

View File

@@ -11,6 +11,9 @@
<%= hidden_field_tag 'id', params[:id] %>
<%= label_tag(:qty, "Qty:") %>
<%= text_field_tag :qty, "", class: 'adjust_height' %>
<br/>
<input type="checkbox" name="barcode" value="true" class="">Barcode
<br/>
<%= submit_tag("Generate", :class=>"btn btn-primary btn_height") %>
<% end %>
</div>

View File

@@ -67,8 +67,8 @@
<th>Manufacture UID</th>
<th>Batch No</th>
<th>Asset Type</th>
<th>Created At </th>
<th>Updated At </th>
<th>Barcode </th>
<th>Created At </th>
</tr>
</thead>
<tbody>
@@ -79,8 +79,8 @@
<td><%= item.manufacture_uid rescue '' %></td>
<td><%= item.batch_name rescue '' %></td>
<td><%= item.asset_type rescue '' %></td>
<td><%= item.created_at.strftime("%e,%b %Y %I:%M %p") rescue '' %></td>
<td><%= item.updated_at.strftime("%e,%b %Y %I:%M %p") rescue '' %></td>
<td><%= item.barcode rescue '' %></td>
<td><%= item.created_at.strftime("%e,%b %Y %I:%M %p") rescue '' %></td>
</tr>
<% end %>
</tbody>

View File

@@ -0,0 +1,21 @@
Searching 838 files for "page_no"
0 matches
Searching 838 files for "check_box"
/Users/nda/Documents/projectX/nemo_encoder/app/views/devise/sessions/new.html.erb:
15 <% if devise_mapping.rememberable? -%>
16 <div class ="form-group" >
17: <%= f.check_box :remember_me %>
18 <%= f.label :remember_me %>
19 </div>
/Users/nda/Documents/projectX/nemo_encoder/app/views/users/_form.html.erb:
58 <div class ="form-group" >
59 <label for="is_active" class="string optional control-label">Active:</label>
60: <%= check_box "Monday", "yes" %>
61 </div>
62 <% end %>
2 matches across 2 files