Skip to content

Commit dd03db8

Browse files
authored
Merge pull request rubycentral#885 from amatsuda/fix_button_styles
Restore proper button size on new/edit speaker page
2 parents 2bc93a1 + 2f78713 commit dd03db8

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

app/views/staff/speakers/edit.html.haml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
placeholder: "Bio for the event program", rows: 7, maxlength: 500
2121
%p.help-block Bio is limited to 500 characters.
2222

23-
.row.col-md-12.form-submit.btn-toolbar
24-
%button.float-end.btn.btn-success{:type => "submit"} Save
25-
= link_to("Cancel", event_staff_program_speaker_path(current_event, @speaker), class: "button float-end btn btn-danger")
23+
.row.col-md-12.form-submit
24+
.btn-toolbar
25+
%button.float-end.btn.btn-success{:type => "submit"} Save
26+
= link_to("Cancel", event_staff_program_speaker_path(current_event, @speaker), class: "button float-end btn btn-danger")
2627

app/views/staff/speakers/new.html.haml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
placeholder: "Bio for the event program", rows: 7, maxlength: 500
2424
%p.help-block Bio is limited to 500 characters.
2525

26-
.row.col-md-12.form-submit.btn-toolbar
27-
%button.float-end.btn.btn-success{:type => "submit"} Save
28-
= link_to("Cancel", event_staff_program_session_path(current_event, @program_session), class: "button float-end btn btn-danger")
26+
.row.col-md-12.form-submit
27+
.btn-toolbar
28+
%button.float-end.btn.btn-success{:type => "submit"} Save
29+
= link_to("Cancel", event_staff_program_session_path(current_event, @program_session), class: "button float-end btn btn-danger")

0 commit comments

Comments
 (0)