Skip to content

Commit a69283b

Browse files
committed
Profile template, nbsp to avoid line break before required *
1 parent 6443a40 commit a69283b

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

form-profile.php

+3-5
Original file line numberDiff line numberDiff line change
@@ -56,17 +56,15 @@
5656
</div>
5757

5858
<div class="form-group">
59-
<label class="control-label" for="nickname"><?php _e('Surname', 'stormbringer') ?>
60-
<span class="form-required">*</span></label>
59+
<label class="control-label" for="nickname"><?php _e('Surname', 'stormbringer') ?>&nbsp;<span class="form-required">*</span></label>
6160

6261
<div class="form-input">
6362
<input placeholder="<?php _e('Surname', 'stormbringer') ?>" type="text" name="nickname" id="nickname" class="form-control" value="<?php echo esc_attr($profileuser->nickname) ?>"/>
6463
</div>
6564
</div>
6665

6766
<div class="form-group">
68-
<label class="control-label" for="display_name"><?php _e('Displayed publicly', 'stormbringer') ?>
69-
<span class="form-required">*</span></label>
67+
<label class="control-label" for="display_name"><?php _e('Displayed publicly', 'stormbringer') ?>&nbsp;<span class="form-required">*</span></label>
7068

7169
<div class="form-input">
7270
<select name="display_name" id="display_name" class="form-control">
@@ -101,7 +99,7 @@
10199
<legend><?php _e('Social networks', 'stormbringer') ?></legend>
102100

103101
<div class="form-group">
104-
<label class="control-label" for="email"><?php _e('Email', 'stormbringer') ?><span class="form-required">*</span></label>
102+
<label class="control-label" for="email"><?php _e('Email', 'stormbringer') ?>&nbsp;<span class="form-required">*</span></label>
105103

106104
<div class="form-input">
107105
<input placeholder="<?php _e('Email', 'stormbringer') ?>" type="text" name="email" id="email" class="form-control" value="<?php echo esc_attr($profileuser->user_email) ?>"/>

header.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
foreach($get_tml_actions_posts as $post){
8383
$action = get_post_meta($post->ID, '_tml_action',true);
8484
$link[$action] = get_permalink($post->ID);
85-
$title[$action] = $post->post_title;;
85+
$title[$action] = $post->post_title;
8686
}
8787
if ( 0 == $current_user->ID ) : // logged in
8888
?>

scss/stormbringer_variables.scss

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ $color4: #175567;
55
$color5: #006F71;
66
$white: #fff;
77

8+
$brand-primary: $color5;
89
$body-bg: #fff;
910
$link-color: $color5;
1011
$link-hover-color: darken($link-color, 10%);
11-
1212
$btn-primary-bg: $color4;
13-
1413
$input-border-focus: #8acccc;
1514

1615
$border-radius-base: 0px !default;

0 commit comments

Comments
 (0)