app/views/decidim/meetings/meetings/_form.html.erb in decidim-meetings-0.25.2 vs app/views/decidim/meetings/meetings/_form.html.erb in decidim-meetings-0.26.0.rc1
- old
+ new
@@ -31,12 +31,23 @@
<div class="field" data-meeting-type="online">
<%= form.text_field :online_meeting_url %>
<p class="help-text"><%= t(".online_meeting_url_help") %></p>
</div>
-<div class="field" data-meeting-type="online">
- <%= form.check_box :show_embedded_iframe %>
- <p class="help-text"><%= t(".show_embedded_iframe_help") %></p>
+<div class="iframe-fields">
+ <div class="field" data-meeting-type="online">
+ <%= form.select :iframe_embed_type,
+ @form.iframe_embed_type_select,
+ { multiple: false } %>
+ <p class="help-text"><%= t(".show_embedded_iframe_help") %></p>
+ </div>
+
+ <div class="field iframe-fields--access-level" id="meeting_iframe_embed_type" data-meeting-type="online-access-level">
+ <%= form.select :iframe_access_level,
+ @form.iframe_access_level_select,
+ { include_blank: t(".select_an_iframe_access_level") },
+ { multiple: false } %>
+ </div>
</div>
<div class="field">
<%= form.datetime_field :start_time %>
</div>