											<%= form_for(@cash_register, :html => {:class=>"form-horizontal"}) do |f| %>
											<div class="portlet-body form">
												<% if @cash_register.errors.any? %>
												<div class="alert alert-danger">
													<strong>Tiene <%= pluralize(@cash_register.errors.count, "error") %> no se puede guardar la caja registradora</strong><br>
												</div>
												<% end %>
												<div class="form-body">
													<div class="form-group">
                                                        <%= f.label :name, "Nombre de la caja", {:class=>"col-md-3 control-label"} do %> Nombre de la caja
															<span class="required">*</span>
														<% end %>
														<div class="col-md-9">
															<%= f.text_field :name, {:class=>"form-control"} %>
														</div>
													</div>
													<div class="form-group">
                                                        <%= f.label :decription, "Descripción", {:class=>"col-md-3 control-label"} %>
														<div class="col-md-9">
                                                            <%= f.text_field :description, {:class=>"form-control"} %>
														</div>
													</div>                                                 
													<% if @cash_register.persisted? %>
													<!-- <div class="form-group">
														<%= f.label :status, {:class=>"col-md-3 control-label"} %>
														<div class="col-md-9">
															<%= f.check_box(:status,   
																{
																	class: "make-switch",
																	data: {
																		on_color: "success",
																		off_color: "danger",
																		on_text: "Activo", 
																		off_text: "Inactivo"
																	}
																},
																"active", "inactive"  
															) %>
														</div>
													</div> -->
													<% end %>
                                            </div>
												<div class="form-actions">
													<div class="row">
														<div class="col-md-offset-3 col-md-9">
															<%= f.submit 'Guardar', {:class=>"btn green"} %>
															<%= link_to 'Cancelar', cash_registers_path, {:class=>"btn default"} %>
														</div>
													</div>
												</div>
											</div>
											<% end %>
											<script type="text/javascript">
												$(document).ready(function() {
													App.init();
												});
											</script>