.container
  h1 Create Sending Mail

  = form_tag(mail_sends_confirm_path) do
    .form-group
      = label_tag 'Subject'
      = text_field_tag 'Subject', '', class: 'form-control', placeholder: 'subject'
    .form-group
      = label_tag 'To'
      = text_field_tag 'To', '', class: 'form-control', placeholder: 'example@example.com'
    .form-group
      = label_tag 'Body'
      = text_area_tag 'Body', '', class: 'form-control', rows: 10, placeholder: 'Message body'
    .form-group
      = button_tag 'submit', class: 'btn btn-primary btn-lg'

.container
  h1 Create Sending Mail

  = form_tag(mail_sends_confirm_path) do
    .form-group
      = label_tag 'Subject'
      = text_field_tag 'Subject', '', class: 'form-control', placeholder: 'subject'
    .form-group
      = label_tag 'To'
      = text_field_tag 'To', '', class: 'form-control', placeholder: 'example@example.com'
    .form-group
      = label_tag 'Body'
      = text_area_tag 'Body', '', class: 'form-control', rows: 10, placeholder: 'Message body'
    .form-group
      = button_tag 'submit', class: 'btn btn-primary btn-lg'
    .form-group
      = link_to('back', mail_sends_path, class: 'btn btn-default')

Add back to home link
Add back to home link

gouf/rails_aws_ses_demo,gouf/rails_aws_ses_demo,gouf/rails_aws_ses_demo