Skip to content

Commit

Permalink
Dev: Remove class form-control from inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Nov 15, 2017
1 parent 094eb24 commit f003d23
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 63 deletions.
42 changes: 21 additions & 21 deletions templates/default/options/options.twig
Expand Up @@ -222,17 +222,17 @@ label.btn{
<div class='col-sm-12'>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input name='ajaxmode' type='radio' value='on' class='form-control selector_option_radio_field ' data-id='simple_edit_options_ajaxmode'/>
<input name='ajaxmode' type='radio' value='on' class='selector_option_radio_field ' data-id='simple_edit_options_ajaxmode'/>
Yes
</label>
<label class="btn btn-default">
<input name='ajaxmode' type='radio' value='off' class='form-control selector_option_radio_field ' data-id='simple_edit_options_ajaxmode'/>
<input name='ajaxmode' type='radio' value='off' class='selector_option_radio_field ' data-id='simple_edit_options_ajaxmode'/>
No
</label>
{# If this is a root template setting, don't show the inherit button #}
{% if templateConfiguration.sid is not empty or templateConfiguration.gsid is not empty %}
<label class="btn btn-default">
<input name='ajaxmode' type='radio' value='inherit' class='form-control selector_option_radio_field ' data-id='simple_edit_options_ajaxmode'/>
<input name='ajaxmode' type='radio' value='inherit' class='selector_option_radio_field ' data-id='simple_edit_options_ajaxmode'/>
Inherit
</label>
{% endif %}
Expand All @@ -248,17 +248,17 @@ label.btn{
<div class='col-sm-12'>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type='radio' name='backgroundimage' value='on' class='form-control selector_option_radio_field simple_edit_options_backgroundimage ' data-id='backgroundimage' />
<input type='radio' name='backgroundimage' value='on' class='selector_option_radio_field simple_edit_options_backgroundimage ' data-id='backgroundimage' />
Yes
</label>
<label class="btn btn-default">
<input type='radio' name='backgroundimage' value='off' class='form-control selector_option_radio_field simple_edit_options_backgroundimage ' data-id='backgroundimage' />
<input type='radio' name='backgroundimage' value='off' class='selector_option_radio_field simple_edit_options_backgroundimage ' data-id='backgroundimage' />
No
</label>
{# If this is a root template setting, don't show the inherit button #}
{% if templateConfiguration.sid is not empty or templateConfiguration.gsid is not empty %}
<label class="btn btn-default">
<input type='radio' name='backgroundimage' value='inherit' class='form-control selector_option_radio_field simple_edit_options_backgroundimage ' data-id='backgroundimage' />
<input type='radio' name='backgroundimage' value='inherit' class='selector_option_radio_field simple_edit_options_backgroundimage ' data-id='backgroundimage' />
Inherit
</label>
{% endif %}
Expand All @@ -274,17 +274,17 @@ label.btn{
<div class='col-sm-12'>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type='radio' name='boxcontainer' value='on' class='form-control selector_option_radio_field simple_edit_options_boxcontainer ' data-id='boxcontainer' />
<input type='radio' name='boxcontainer' value='on' class='selector_option_radio_field simple_edit_options_boxcontainer ' data-id='boxcontainer' />
Yes
</label>
<label class="btn btn-default">
<input type='radio' name='boxcontainer' value='off' class='form-control selector_option_radio_field simple_edit_options_boxcontainer ' data-id='boxcontainer' />
<input type='radio' name='boxcontainer' value='off' class='selector_option_radio_field simple_edit_options_boxcontainer ' data-id='boxcontainer' />
No
</label>
{# If this is a root template setting, don't show the inherit button #}
{% if templateConfiguration.sid is not empty or templateConfiguration.gsid is not empty %}
<label class="btn btn-default">
<input type='radio' name='boxcontainer' value='inherit' class='form-control selector_option_radio_field simple_edit_options_boxcontainer ' data-id='boxcontainer' />
<input type='radio' name='boxcontainer' value='inherit' class='selector_option_radio_field simple_edit_options_boxcontainer ' data-id='boxcontainer' />
Inherit
</label>
{% endif %}
Expand All @@ -304,17 +304,17 @@ label.btn{
<div class='col-sm-12'>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type='radio' name='brandlogo' value='on' class='form-control selector_option_radio_field ' data-id='simple_edit_options_brandlogo' />
<input type='radio' name='brandlogo' value='on' class='selector_option_radio_field ' data-id='simple_edit_options_brandlogo' />
Yes
</label>
<label class="btn btn-default">
<input type='radio' name='brandlogo' value='off' class='form-control selector_option_radio_field ' data-id='simple_edit_options_brandlogo' />
<input type='radio' name='brandlogo' value='off' class='selector_option_radio_field ' data-id='simple_edit_options_brandlogo' />
No
</label>
{# If this is a root template setting, don't show the inherit button #}
{% if templateConfiguration.sid is not empty or templateConfiguration.gsid is not empty %}
<label class="btn btn-default">
<input type='radio' name='brandlogo' value='inherit' class='form-control selector_option_radio_field ' data-id='simple_edit_options_brandlogo' />
<input type='radio' name='brandlogo' value='inherit' class='selector_option_radio_field ' data-id='simple_edit_options_brandlogo' />
Inherit
</label>
{% endif %}
Expand Down Expand Up @@ -348,17 +348,17 @@ label.btn{
<div class='col-sm-12'>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type='radio' value='on' class='form-control selector_option_radio_field ' data-id='simple_edit_options_animatebody' name='animatebody' />
<input type='radio' value='on' class='selector_option_radio_field ' data-id='simple_edit_options_animatebody' name='animatebody' />
Yes
</label>
<label class="btn btn-default">
<input type='radio' value='off' class='form-control selector_option_radio_field ' data-id='simple_edit_options_animatebody' name='animatebody' />
<input type='radio' value='off' class='selector_option_radio_field ' data-id='simple_edit_options_animatebody' name='animatebody' />
No
</label>
{# If this is a root template setting, don't show the inherit button #}
{% if templateConfiguration.sid is not empty or templateConfiguration.gsid is not empty %}
<label class="btn btn-default">
<input type='radio' value='inherit' class='form-control selector_option_radio_field ' data-id='simple_edit_options_animatebody' name='animatebody' />
<input type='radio' value='inherit' class='selector_option_radio_field ' data-id='simple_edit_options_animatebody' name='animatebody' />
Inherit
</label>
{% endif %}
Expand Down Expand Up @@ -386,17 +386,17 @@ label.btn{
<div class='col-sm-12'>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type='radio' value='on' class='form-control selector_option_radio_field ' data-id='simple_edit_options_animatequestion' name='animatequestion' />
<input type='radio' value='on' class='selector_option_radio_field ' data-id='simple_edit_options_animatequestion' name='animatequestion' />
Yes
</label>
<label class="btn btn-default">
<input type='radio' value='off' class='form-control selector_option_radio_field ' data-id='simple_edit_options_animatequestion' name='animatequestion' />
<input type='radio' value='off' class='selector_option_radio_field ' data-id='simple_edit_options_animatequestion' name='animatequestion' />
No
</label>
{# If this is a root template setting, don't show the inherit button #}
{% if templateConfiguration.sid is not empty or templateConfiguration.gsid is not empty %}
<label class="btn btn-default">
<input type='radio' value='inherit' class='form-control selector_option_radio_field ' data-id='simple_edit_options_animatequestion' name='animatequestion' />
<input type='radio' value='inherit' class='selector_option_radio_field ' data-id='simple_edit_options_animatequestion' name='animatequestion' />
Inherit
</label>
{% endif %}
Expand Down Expand Up @@ -424,17 +424,17 @@ label.btn{
<div class='col-sm-12'>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-default">
<input type='radio' value='on' class='form-control selector_option_radio_field ' data-id='simple_edit_options_animatealert' name='animatealert' />
<input type='radio' value='on' class='selector_option_radio_field ' data-id='simple_edit_options_animatealert' name='animatealert' />
Yes
</label>
<label class="btn btn-default">
<input type='radio' value='off' class='form-control selector_option_radio_field ' data-id='simple_edit_options_animatealert' name='animatealert' />
<input type='radio' value='off' class='selector_option_radio_field ' data-id='simple_edit_options_animatealert' name='animatealert' />
No
</label>
{# If this is a root template setting, don't show the inherit button #}
{% if templateConfiguration.sid is not empty or templateConfiguration.gsid is not empty %}
<label class="btn btn-default">
<input type='radio' value='inherit' class='form-control selector_option_radio_field ' data-id='simple_edit_options_animatealert' name='animatealert' />
<input type='radio' value='inherit' class='selector_option_radio_field ' data-id='simple_edit_options_animatealert' name='animatealert' />
Inherit
</label>
{% endif %}
Expand Down

0 comments on commit f003d23

Please sign in to comment.