<%= form_for(@cash_register, remote: true, html: { class: "form-horizontal" }) do |f| %>
  <div class="portlet-body form">
    <div class="row col-md-12">
      <div class="alert alert-danger hidden" id="cash_register_errors"></div>
    </div>
    <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-8">
          <%= f.text_field :name, { class: "form-control first_input" } %>
        </div>
      </div>
      <div class="form-group">
        <%= f.label :decription, "Descripción", { class: "col-md-3 control-label" } %>
        <div class="col-md-8">
          <%= f.text_area :description, { class: "form-control", rows: 4 } %>
        </div>
      </div>
    </div>
    <div class="form-actions">
      <div class="row">
        <div class="col-md-offset-3 col-md-9">
          <%= f.submit 'Guardar', { class: "btn green" } %>
        </div>
      </div>
    </div>
  </div>
<% end %>
<script type="text/javascript">
  $(document).ready(function() {
    App.init();
  });
</script>
