Sign Up for
<%=get_org_name[:short]%> Cloud Controller

Please sign up to create account.
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { multipart: true, id: "registration_sign_up" }) do |f| %> <%= devise_error_messages! %>
<%= f.text_field :full_name,:class=>"form-control",:placeholder=>"Name *", :data => {:validation => "required"} %>
<%= f.email_field :email, :class=>"form-control",:placeholder=>"Email *", :data => {:validation => "required email"} %>
<%= f.password_field :password, autocomplete: "off",:class=>"form-control",:placeholder=>"Password *", :data => {"validation" => "required length", "validation-length" => "min8"} %>
<%= f.password_field :password_confirmation, autocomplete: "off",:class=>"form-control",:placeholder=>"Confirm Password *", :data => {:validation => "required"} %>
<% validation = {"validation" => "required phone-only-integer length international-code", "validation-length" => "max10"} -%> <%= text_field_tag :phone_number_field,'',:class=>"form-control country-code",:placeholder=>"Phone Number *", :data => validation,'data-validation-help' =>"Note: Entered number must be free of spaces and special characters." %> <%= f.hidden_field :phone_number%>
<%= f.text_field :company_name,:class=>"form-control",:placeholder=>"Company Name *", :data => {:validation => "required"} %>
Have Devices To Provision?
<%= f.text_field :claimed_devices, :placeholder=>"Add Devices MAC(Press TAB to add multiple)", autocomplete: "off", :class=>"form-control devices", :id=>"device_MAC" %>
<% if APPLICATION['defaults']['recaptcha'] %> <%= recaptcha_tags :callback=>"captchaFunc" %>
<% end %>
<%=f.hidden_field :is_admin,:value=>"true"%> <%=f.hidden_field :role_id,:value=>"#{Role.where(:name => 'admin').first.id}"%> <%= f.submit "Sign up",:class=>"btn btn-success btn-block", disabled: APPLICATION['defaults']['recaptcha'], :id=>"enable_captcha"%>
<%end%>