app/views/thredded/preferences/_form.html.erb in thredded-0.11.1 vs app/views/thredded/preferences/_form.html.erb in thredded-0.12.0

- old
+ new

@@ -1,12 +1,10 @@ <%# @type preferences [Thredded::UserPreferencesForm] %> <%= form_for(preferences, method: :patch, url: preferences.update_path, html: { class: 'thredded--form thredded--notification-preferences-form', 'data-thredded-user-preferences-form' => true }) do |f| %> - - <h3><%= t 'thredded.preferences.form.global_preferences_label' %></h3> <ul class="thredded--form-list"> <li> <%= f.label :auto_follow_topics do %> <%= f.check_box :auto_follow_topics, 'data-thredded-update-checkbox-on-change' => @@ -50,12 +48,12 @@ <% end %> </li> <% end %> </ul> <% if preferences.messageboard %> - <h3> - <%= t 'thredded.preferences.form.messageboard_preferences_label_html', messageboard: messageboard.name %> - </h3> + <h2 class="thredded--preferences--title"> + <%= t 'thredded.preferences.messageboard_preferences_title_html', messageboard: messageboard.name %> + </h2> <ul class="thredded--form-list" data-thredded-user-preferences-form-messageboard-fields> <li> <%= f.label :messageboard_auto_follow_topics do %> <%= f.check_box :messageboard_auto_follow_topics %> <%= t 'thredded.preferences.form.messageboard_auto_follow_topics.label' %>