Sha256: 50e91829e28d502c218de67c758e956fef2a3ef74d08527ff1fc4a63ca78074f

Contents?: true

Size: 750 Bytes

Versions: 87

Compression:

Stored size: 750 Bytes

Contents

<%= content_tag("div",
    aria: object.aria,
    class: object.classname,
    data: object.data,
    id: object.id,
    **combined_html_options) do %>
      <%= pb_rails("form_group", props: {cursor: "pointer", full_width: object.full_width}) do %>
        <label
          for="upload-<%= object.id %>"
          class="pb_button_kit_secondary_inline_enabled <%= 'dark' if object.dark %>"
        >
          <%= "#{object.label}" %>
        </label>
        <%= pb_rails("text_input", props: {
          type: "file",
          dark: object.dark,
          input_options: {
            id: "upload-#{object.id}",
            classname: "cursor_pointer",
          }.merge(object.input_options)
        }) %>
      <% end %>
    </label>
<% end %>

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
playbook_ui-14.10.0.pre.rc.16 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.play17004992 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.play1703errorstatealignment4991 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.10.0.pre.rc.15 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY16264952 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY1731inputmasking4927 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.play1742globalheightfixes4926 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.play1742globalheightfixes4925 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.10.0.pre.rc.14 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.10.0.pre.rc.13 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR746datepickerdefaultbug4903 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR746datepickerdefaultbug4901 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR746datepickerdefaultbug4898 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.PBNTR746datepickerdefaultbug4891 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY1731inputmasking4890 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.play1703errorstatealignment4889 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.10.0.pre.rc.12 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.10.0.pre.rc.11 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY1731inputmasking4868 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb
playbook_ui-14.9.0.pre.alpha.PLAY1731inputmasking4866 app/pb_kits/playbook/pb_file_upload/file_upload.html.erb