Sha256: e587b28de877c81c697976e1d149d7a000659c44524cb95f01cdf8563184eeb4
Contents?: true
Size: 694 Bytes
Versions: 6
Compression:
Stored size: 694 Bytes
Contents
<%# # Url Form Partial This partial renders an input element for URL. By default, the input is a text box. ## Local variables: - `f`: A Rails form generator, used to help create the appropriate input fields. - `field`: An instance of [Administrate::Field::Url][1]. A wrapper around the URL pulled from the database. [1]: http://www.rubydoc.info/gems/administrate/Administrate/Field/Url %> <div class="mb-4"> <%= f.label field.attribute, class: "block text-sm font-medium text-gray-700" %> <div class="mt-1"> <%= f.url_field field.attribute, class: "shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-full sm:text-sm border-gray-300 rounded-md" %> </div> </div>
Version data entries
6 entries across 6 versions & 1 rubygems