Sha256: 87d20d580fcc5a9f3e714b65861076f727e334ce5c87529c0e4d91f78801da21

Contents?: true

Size: 631 Bytes

Versions: 4

Compression:

Stored size: 631 Bytes

Contents

<h1>Send SMS</h1>
<%%= error_messages_for(:<%=short_message_model_name.underscore%>) %>
<%% form_for @<%=short_message_model_name.underscore%> do |f| -%>

<div>
	<%%= f.label :destination, "Cellphone" %>
	<%%= f.text_field :destination %>
</div>
<div>
	<%%= f.label :originator, "Originator" %>
	<%%= f.text_field :originator %>
</div>
<div>
	<%%= f.label :originator_type, "Originator Type" %>
	<%%= f.select :originator_type, ['numeric', 'shortcode', 'alpha'] %>
</div>
<div>
	<%%= f.label :body, "Message" %>
	<%%= f.text_area :body %>
</div>
<div>
	<%%= f.submit "Submit", :disable_with => 'Submiting...' %>
</div>
<%% end -%>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jnstq-acts_as_sms-0.1.0 rails_generators/short_message_service/templates/new.html.erb
jnstq-acts_as_sms-0.1.1 rails_generators/short_message_service/templates/new.html.erb
jnstq-acts_as_sms-0.1.3 rails_generators/short_message_service/templates/new.html.erb
jnstq-acts_as_sms-0.1.4 rails_generators/short_message_service/templates/new.html.erb