Sha256: 5adcc6b8bd398ad436f0a8697f31c5531a59955394ae831e5d720c143bd57a45

Contents?: true

Size: 1.73 KB

Versions: 4

Compression:

Stored size: 1.73 KB

Contents

<div id="permissions_display">
  <fieldset class="control-group">
    <legend>
      Embargo Date
      <small>When to release it for public viewing</small>
    </legend>
    <p class="help-block">
      Need to provide some help text
    </p>
    <%= f.input :embargo_release_date, as: :string, input_html: { class: 'datepicker' } %>
  </fieldset>

  <fieldset class="control-group">
    <legend>
      Access Rights
      <small>Applied to the attached files and their metadata</small>
    </legend>

    <p class="help-block">
      Who should be able to read and download your files?
    </p>

    <div class="controls">
      <label class="radio">
        <input type="radio" id="visibility_open" name="<%= f.object_name %>[visibility]" value="<%= AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC %>" <% if curation_concern.open_access? %> checked="true"<% end %>/>
        <span class="label label-success">Open Access</span> Visible to the world.
      </label>
      <label class="radio">
        <input type="radio" id="visibility_ndu" name="<%= f.object_name %>[visibility]" value="<%= AccessRight::VISIBILITY_TEXT_VALUE_AUTHENTICATED %>" <% if curation_concern.authenticated_only_access? %> checked="true"<% end %> />
        <span class="label label-info"><%=t('sufia.institution_name') %></span> Visible to all <%=t('sufia.institution_name') %> users.
      </label>
      <label class="radio">
        <input type="radio" id="visibility_restricted" name="<%= f.object_name %>[visibility]" value="<%= AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE%>" <% if curation_concern.private_access? %> checked="true"<% end %>/>
        <span class="label label-important">Private</span> Only visible to you.
      </label>
    </div><!-- /.controls -->

  </fieldset>
</div>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
curate-0.1.3 app/views/curation_concern/_permission.html.erb
curate-0.1.2 app/views/curation_concern/_permission.html.erb
curate-0.1.1 app/views/curation_concern/_permission.html.erb
curate-0.1.0 app/views/curation_concern/_permission.html.erb