mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 18:52:11 +00:00
Merge branch 'master' into del
This commit is contained in:
@@ -65,4 +65,3 @@ end
|
||||
</div>
|
||||
|
||||
|
||||
<%= javascript_pack_tag 'modal' %>
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
<i class="fas fa-plus-square"></i>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<% current_user.contacts.each do |contact| %>
|
||||
<%= render "pages/contact", contact: contact %>
|
||||
<% end %>
|
||||
|
||||
10
app/views/pages/new.html.erb
Normal file
10
app/views/pages/new.html.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
<%= simple_form_for(@page) do |p| %>
|
||||
|
||||
<%= p.input :first_name, as: :text, input_html: { autocomplete: "off" } %>
|
||||
<%= p.input :last_name, as: :text, input_html: { autocomplete: "off" } %>
|
||||
<%= p.input :email, as: :text, input_html: { autocomplete: "off" } %>
|
||||
<%= p.input :photo %>
|
||||
<%= p.input :photo_cache, as: :hidden %>
|
||||
|
||||
<%= p.button :submit, class: "btn btn-primary" %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user