moves Sms model to Verification namespace
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<%= form_for sms, url: sms_path do |f| %>
|
||||
<%= form_for sms, as: "sms", url: sms_path do |f| %>
|
||||
<%= render 'shared/errors', resource: sms %>
|
||||
<%= f.hidden_field :phone %>
|
||||
<%= f.submit t('verification.sms.form.submit_button') %>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<h1 class="inline-block"><%= t('verification.sms.edit.title') %></h1>
|
||||
|
||||
<%= form_for @sms, url: sms_path, method: :put do |f| %>
|
||||
<%= form_for @sms, as: "sms", url: sms_path, method: :put do |f| %>
|
||||
<p><%= @error %></p>
|
||||
<%= f.text_field :confirmation_code %>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<h1 class="inline-block"><%= t('verification.sms.new.title') %></h1>
|
||||
|
||||
<%= form_for @sms, url: sms_path do |f| %>
|
||||
<%= form_for @sms, as: "sms", url: sms_path do |f| %>
|
||||
<%= render 'shared/errors', resource: @sms %>
|
||||
|
||||
<%= f.text_field :phone %>
|
||||
|
||||
Reference in New Issue
Block a user