Elastic: Use btn.submit instead of button.save classes for Save button in forms

pull/6040/head
Aleksander Machniak 7 years ago
parent d815525c6a
commit 315f78a65a

@ -7,7 +7,7 @@
</div>
<div class="formbuttons">
<roundcube:button command="plugin.enigma-key-save" class="primary button save" label="save" />
<roundcube:button command="plugin.enigma-key-save" class="btn btn-primary submit" label="save" />
</div>
<roundcube:include file="includes/footer.html" />

@ -10,7 +10,7 @@
<roundcube:if condition="env:task != 'mail'" />
<div class="formbuttons">
<roundcube:button command="plugin.managesieve-save" class="primary button save" label="save" />
<roundcube:button command="plugin.managesieve-save" class="btn btn-primary submit" label="save" />
</div>
<roundcube:endif />

@ -7,7 +7,7 @@
</div>
<div class="formbuttons">
<roundcube:button command="plugin.managesieve-save" class="btn btn-primary save" label="save" />
<roundcube:button command="plugin.managesieve-save" class="btn btn-primary submit" label="save" />
</div>
<roundcube:include file="includes/footer.html" />

@ -7,7 +7,7 @@
</div>
<div class="formbuttons">
<roundcube:button command="plugin.managesieve-save" class="primary button save" label="save" />
<roundcube:button command="plugin.managesieve-save" class="btn btn-primary submit" label="save" />
</div>
<roundcube:include file="includes/footer.html" />

@ -15,7 +15,7 @@
<roundcube:object name="vacationform" id="vacationform" class="propform" />
</div>
<div class="formbuttons">
<roundcube:button command="plugin.managesieve-save" class="primary button save" label="save" />
<roundcube:button command="plugin.managesieve-save" class="btn btn-primary submit" label="save" />
</div>
</div>
</div>

@ -279,7 +279,7 @@ class password extends rcube_plugin
$submit_button = $rcmail->output->button(array(
'command' => 'plugin.password-save',
'class' => 'button mainaction save',
'class' => 'button mainaction submit',
'label' => 'save',
));
$form_buttons = html::p(array('class' => 'formbuttons'), $submit_button);

Loading…
Cancel
Save