Sha256: 90e67222b595135da9fccdaaf0bbecf0e77a596af6ee58d0cc1aa4dd1982f521

Contents?: true

Size: 1.39 KB

Versions: 6

Compression:

Stored size: 1.39 KB

Contents

.assetable-external-services.assetable-modal.modal.fade
  .modal-dialog
    .modal-content
      = form_for [:assetable, @external_service], remote: true do |f|
        .modal-header
          %button.close{"aria-hidden" => "true", "data-dismiss" => "modal", type: "button"} ×
          %h4.modal-title Third Party Service
        .modal-body
          
          = hidden_field_tag :fieldname, params[:fieldname]

          .form-group
            = f.label :name
            = f.text_field :name, class: "form-control input-fluid", required: true
          .form-group
            = f.label :content_type
            = f.select :content_type, ExternalService.possible_content_types
          .form-group
            = f.label :filename
            = f.text_field :filename, class: "form-control input-fluid"
          .form-group
            = f.label :body
            = f.text_area :body, class: "form-control input-fluid", required: true
          .form-group.row
            .col-xs-6
              = f.label :width
              = f.number_field :width, class: "form-control input-fluid"
            .col-xs-6
              = f.label :height
              = f.number_field :height, class: "form-control input-fluid"

        .modal-footer
          = button_tag "Cancel", class: "btn btn-default", :'data-dismiss' => "modal", type: "button"
          = f.submit "Add Third Party Service", class: "btn btn-primary"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
assetable-0.1.10 app/views/assetable/external_services/_form.html.haml
assetable-0.1.9 app/views/assetable/external_services/_form.html.haml
assetable-0.1.8 app/views/assetable/external_services/_form.html.haml
assetable-0.1.7 app/views/assetable/external_services/_form.html.haml
assetable-0.1.6 app/views/assetable/external_services/_form.html.haml
assetable-0.1.3 app/views/assetable/external_services/new.html.haml