Sha256: adadb58f919b11b6eec3988e4c7ae60370b2e367c406e25949fe53e25b1232be

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

<script type="text/ng-template" id="date">
  <input class="form-control" name="{{ name }}" type="date"
    placeholder="{{ placeholder }}" ng-model="resource[name]">
</script>

<script type="text/ng-template" id="datetime">
  <input class="form-control" name="{{ name }}" type="datetime-local"
    placeholder="{{ placeholder }}" ng-model="resource[name]">
</script>

<script type="text/ng-template" id="email">
  <input class="form-control" name="{{ name }}" type="email"
    placeholder="{{ placeholder }}" ng-model="resource[name]">
</script>

<script type="text/ng-template" id="integer">
  <input class="form-control" name="{{ name }}" type="number"
    placeholder="{{ placeholder }}" ng-model="resource[name]" step="1">
</script>

<script type="text/ng-template" id="string">
  <input class="form-control" name="{{ name }}" type="text"
    placeholder="{{ placeholder }}" ng-model="resource[name]">
</script>

<script type="text/ng-template" id="text">
  <textarea class="form-control" name="{{ name }}"
    placeholder="{{ placeholder }}" ng-model="resource[name]">
  </textarea>
</script>

<script type="text/ng-template" id="url">
  <input class="form-control" name="{{ name }}" type="url"
    placeholder="{{ placeholder }}" ng-model="resource[name]">
</script>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.4.0 app/views/admin/resources/_form.html.erb
hyper_admin-0.3.0 app/views/admin/resources/_form.html.erb