Sha256: 068370693632c9eba012999e969cf843d54956f6da3f578fd7450acb51469675

Contents?: true

Size: 788 Bytes

Versions: 3

Compression:

Stored size: 788 Bytes

Contents

%button.btn.btn-info.uploader{"data-toggle" => "modal", "data-target" => "#modalupload"}
  %span.icomoon-icon-plus.white
  = bt("add_#{obj.default_data_file.to_s.tableize}", @obj_class)

= render :template => "mokio/photos/from_external_link", locals: {obj: obj} if (obj.default_data_file == Mokio::Photo)

#modalupload.modal.fade{:role =>"dialog", "aria-labelledby" => "myModalLabel", "aria-hidden" => "true", :style => "display: none;"}
  .modal-dialog
    .modal-content
      .modal-header    
        %h3#myModalLabel.modal-title= bt("file_upload")
      .modal-body
        = render :partial => "mokio/data_files/file_upload", locals: {file_type: obj.default_data_file }
      .modal-footer
        %button.btn.btn-primary{ :type => "button", "data-dismiss" => "modal"}= bt("close")

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mokio-0.0.8 app/views/mokio_haml/data_files/uploader.html.haml
mokio-0.0.6 app/views/mokio_haml/data_files/uploader.html.haml
mokio-0.0.5 app/views/mokio_haml/data_files/uploader.html.haml