Sha256: edf638b87b5f47eb75c55eab605ea175b44acede5c54be02ea41d237ff2af6ee

Contents?: true

Size: 1.15 KB

Versions: 2

Compression:

Stored size: 1.15 KB

Contents

.modal.fade id="new-notification" tabindex="-1" role="dialog" aria-labelledby="newNotification"
  .modal-dialog
    form.modal-content action="/notification" method="POST" onsubmit="submit.disabled = true; return true;"
      .modal-content
        .modal-header
          h4.modal-title Enviar mensaje directo a
        .modal-body
          input.hidden name="label" value="message"
          .row
            .col-sm-12
              == slim :'forms/multiple_select', locals: { :name => "user_ids", :elements => User.active.all.collect { |user| { :value => user.id, :text => user.full_name } }, :placeholder => "Empleados", :filters => {} }
          .row
            .col-xs-12
              == slim :'forms/input', locals: { :id => "", :type => "text", :name => "title", :value => "", :title => "Título", :required => true }
          .row
            .col-xs-12
              == slim :'forms/textarea', locals: { :name => "message", :value => nil, :title => "Comentarios", :length => 10000, :rows => 6 }

        .modal-footer
          button.btn.btn-link.waves-effect data-dismiss="modal" type="button"  Cerrar
          button.btn.btn-link.waves-effect#submit Enviar

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sinatra-hexacta-0.0.2 lib/sinatra/views/notifications/new.slim
sinatra-hexacta-0.0.1 lib/sinatra/views/notifications/new.slim