Sha256: 1964fa4387bccf1bf78cc8b7fc6112590848e202e4b8f5dbe4527db452a2af98

Contents?: true

Size: 1.12 KB

Versions: 69

Compression:

Stored size: 1.12 KB

Contents

  <%= form_tag url_for(:controller => controller_name, :action => "sms"), :id => 'sms_form', :class => "form-horizontal ajax_form", :method => :post do %>
<div class="modal-body">
  <%= render :partial=>'/flash_msg' %>
    <div class="form-group">
      <label class="control-label col-sm-2" for="to"> 
        <%= t('blacklight.sms.form.to') %>
      </label>
      <div class="col-sm-10">
        <%= telephone_field_tag :to, params[:to], class: 'form-control' %>
      </div>
    </div>
    <div class="form-group">
      <label class="control-label col-sm-2" for="carrier">
        <%= t('blacklight.sms.form.carrier') %> 
      </label>
      <div class="col-sm-10">
          <%= select_tag(:carrier, options_for_select(sms_mappings.to_a.sort.unshift([t('blacklight.sms.form.carrier_prompt'),'']), params[:carrier]), class: 'form-control') %><br/>
      </div>

    </div>
    <% @documents.each do |doc| %>
       <%=hidden_field_tag "id[]", doc.id %>
    <% end %>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-primary"> <%= t('blacklight.sms.form.submit') %></button>
</div>
  <% end %>

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
blacklight-6.25.0 app/views/catalog/_sms_form.html.erb
blacklight-6.24.0 app/views/catalog/_sms_form.html.erb
blacklight-6.23.0 app/views/catalog/_sms_form.html.erb
blacklight-6.22.0 app/views/catalog/_sms_form.html.erb
blacklight-6.21.0 app/views/catalog/_sms_form.html.erb
blacklight-6.20.0 app/views/catalog/_sms_form.html.erb
blacklight-6.19.2 app/views/catalog/_sms_form.html.erb
blacklight-6.19.1 app/views/catalog/_sms_form.html.erb
blacklight-6.19.0 app/views/catalog/_sms_form.html.erb
blacklight-6.18.0 app/views/catalog/_sms_form.html.erb
blacklight-6.17.0 app/views/catalog/_sms_form.html.erb
blacklight-6.16.0 app/views/catalog/_sms_form.html.erb
blacklight-6.15.0 app/views/catalog/_sms_form.html.erb
blacklight-6.14.1 app/views/catalog/_sms_form.html.erb
blacklight-6.14.0 app/views/catalog/_sms_form.html.erb
blacklight-6.13.0 app/views/catalog/_sms_form.html.erb
blacklight-6.12.0 app/views/catalog/_sms_form.html.erb
blacklight-6.11.2 app/views/catalog/_sms_form.html.erb
blacklight-6.11.1 app/views/catalog/_sms_form.html.erb
blacklight-6.11.0 app/views/catalog/_sms_form.html.erb