GravityView  2.17
The best, easiest way to display Gravity Forms entries on your website.
note-add-note.php
Go to the documentation of this file.
1 <?php
2 /**
3  * Display a note, without editing options
4  *
5  * @since 1.17
6  */
7 
8 /**
9  * @action `gravityview/field/notes/scripts` Print scripts and styles required for the Notes field
10  * @see GravityView_Field_Notes::enqueue_scripts
11  * @since 1.17
12  */
13 do_action( 'gravityview/field/notes/scripts' );
14 ?>
15 <form method="post" class="gv-note-add">
16  <div>
17  <input type="hidden" name="action" value="gv_note_add" />
18  <input type="hidden" name="entry-slug" value="{entry_slug}" />
19  <input type="hidden" name="show-delete" value="{show_delete}" />
20  <input type="hidden" name="current-url" value="{url}" />
21  {nonce_field}
22  {email_fields}
23 
24  <div class="gv-note-content-container">
25  <label for="gv-note-content-{entry_slug}" class="screen-reader-text"><?php echo GravityView_Field_Notes::strings('content-label'); ?></label>
26  <textarea name="gv-note-content" id="gv-note-content-{entry_slug}"></textarea>
27  </div>
28 
29  <button type="submit" class="button gv-add-note-submit"><?php echo GravityView_Field_Notes::strings('add-note'); ?></button>
30  </div>
31 </form>
static strings( $key='')
Get strings used by the Entry Notes field.