-
Notifications
You must be signed in to change notification settings - Fork 187
/
_change_notes.html.erb
24 lines (23 loc) · 1.1 KB
/
_change_notes.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<fieldset class="js-change-notes">
<h3 class="remove-top-margin">What sort of change are you making?</h3>
<div class="radio">
<%= form.label :minor_change_true do %>
<%= form.radio_button(:minor_change, true) %>
<strong>Fixing a typo or broken link, a style change or similar</strong>
<p class="hint">Users signed up to email alerts won't be notified</p>
<% end %>
</div>
<div class="radio">
<%= form.label :minor_change_false do %>
<%= form.radio_button(:minor_change, false) %>
<strong>A significant edit that affects what users need to do or know</strong>
<p class="hint">A change note will be published on the page and emailed to users signed up to alerts</p>
<% end %>
</div>
<div class="js-change-notes-section">
<div class="form-group">
<%= form.text_area(:change_note, rows: 4, label_text: "Public change note", class: 'form-control') %>
</div>
</div>
<p>Read the <a href="https://www.gov.uk/guidance/content-design/writing-for-gov-uk#change-notes" target="_blank">guidance about change notes</a> (opens in a new tab).</p>
</fieldset>