Code Duplication    Length = 6-6 lines in 2 locations

lib/admin.php 2 locations

@@ 191-196 (lines=6) @@
188
            delete_option( '_wogh_export_started' );
189
        }
190
191
        if ( $message = get_option( '_wogh_export_error' ) ) { ?>
192
            <div class="error">
193
                <p><?php esc_html_e( 'Export to GitHub failed with error:', 'writing-on-github' ); ?> <?php echo esc_html( $message );?></p>
194
            </div><?php
195
            delete_option( '_wogh_export_error' );
196
        }
197
198
        if ( 'yes' === get_option( '_wogh_export_complete' ) ) { ?>
199
            <div class="updated">
@@ 212-217 (lines=6) @@
209
            delete_option( '_wogh_import_started' );
210
        }
211
212
        if ( $message = get_option( '_wogh_import_error' ) ) { ?>
213
            <div class="error">
214
            <p><?php esc_html_e( 'Import from GitHub failed with error:', 'writing-on-github' ); ?> <?php echo esc_html( $message );?></p>
215
            </div><?php
216
            delete_option( '_wogh_import_error' );
217
        }
218
219
        if ( 'yes' === get_option( '_wogh_import_complete' ) ) { ?>
220
            <div class="updated">