mirror of
https://github.com/beatriceo/polyglot.git
synced 2025-10-25 10:42:11 +00:00
Merge branch 'master' into del
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||
<%= favicon_link_tag 'favicon.ico' %> <!-- Need a favicon to change picture in title bar -->
|
||||
<title>Polyglot</title>
|
||||
<%= csrf_meta_tags %>
|
||||
<%= action_cable_meta_tag %>
|
||||
@@ -15,5 +16,6 @@
|
||||
<%= yield %>
|
||||
<%= javascript_include_tag 'application' %>
|
||||
<%= javascript_pack_tag 'application' %>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -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