Sha256: 3903711a14bc7ed42d92488bbb6cc9d55443fe204f4c8cb12a104b12674c1e98

Contents?: true

Size: 868 Bytes

Versions: 10

Compression:

Stored size: 868 Bytes

Contents

<h1>Editing Phone Number</h1>

<% form_for(:phone_number, @phone_number, :url => sms_phone_number_path, :html => {:method => :put}) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :number %><br />
    <%= f.text_field :number, :value => @phone_number.human_display %>
  </p>
  <p>
    <%= f.label :carrier_id, 'Phone Carrier' %><br />
    <%= phone_carriers_collection_select(f) %>
  </p>
  <p>
    <%= f.label :country_code %><br />
    <%= f.text_field :country_code %>
  </p>
  <p>
    <%= f.label :do_not_send %><br />
    <%= f.select :do_not_send, ['bounce', 'abuse', 'opt out', 'other'] %>
  </p>
  <p>
    <%= f.label :white_list %><br />
    <%= f.check_box :white_list %>
  </p>

  <p>
    <%= f.submit 'Update' %>
  </p>
<% end %>

<%= link_to 'Show', sms_phone_number_path(:id => @phone_number) %> |
<%= link_to 'Back', sms_phone_numbers_path %>

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
blythedunham-sms_on_rails-0.1.0 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb
sztywny-smsonrails-0.3.3 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb
sztywny-smsonrails-0.3.1 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb
sztywny-smsonrails-0.3.0 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb
sztywny-smsonrails-0.2.3 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb
sztywny-smsonrails-0.2.2 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb
sztywny-smsonrails-0.2.1 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb
sztywny-smsonrails-0.2.0 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb
sztywny-smsonrails-0.1.2 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb
smsonrails-0.1.2 app/views/admin/sms_on_rails/phone_numbers/edit.html.erb